Browse Source

do not ignore lines with mix od tabs and spaces

Frédéric FRANCE 5 years ago
parent
commit
0ede817588

+ 1 - 1
dev/setup/codesniffer/ruleset.xml

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

+ 2 - 2
htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php

@@ -131,7 +131,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
         {
         	dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
         	$ret = 0;
-        	
+
 			// 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))
         	{
@@ -175,7 +175,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
         		    }
         		}
         	}
-        	
+
         	return $ret;
         }