do not ignore lines with mix od tabs and spaces

This commit is contained in:
Frédéric FRANCE 2019-10-20 16:56:47 +02:00
parent 05352a62e5
commit 0ede817588
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 3 additions and 3 deletions

View File

@ -201,7 +201,7 @@
<!-- There MUST NOT be trailing whitespace at the end of non-blank lines. --> <!-- There MUST NOT be trailing whitespace at the end of non-blank lines. -->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties> <properties>
<property name="ignoreBlankLines" value="true"/> <property name="ignoreBlankLines" value="false"/>
</properties> </properties>
</rule> </rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile"> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile">

View File

@ -131,7 +131,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
{ {
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id); dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
$ret = 0; $ret = 0;
// First classify billed the order to allow the proposal classify process // First classify billed the order to allow the proposal classify process
if (! empty($conf->commande->enabled) && ! empty($conf->workflow->enabled) && ! empty($conf->global->WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER)) if (! empty($conf->commande->enabled) && ! empty($conf->workflow->enabled) && ! empty($conf->global->WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER))
{ {
@ -175,7 +175,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
} }
} }
} }
return $ret; return $ret;
} }