diff --git a/dev/setup/codesniffer/ruleset.xml b/dev/setup/codesniffer/ruleset.xml
index ad26c7f0bdc..41526340daf 100644
--- a/dev/setup/codesniffer/ruleset.xml
+++ b/dev/setup/codesniffer/ruleset.xml
@@ -272,12 +272,7 @@
-
-
-
-
-
-
+
0
@@ -310,20 +305,21 @@
-
-
+
0
-
+
0
+
- 0
+ 0
-
+
+
0
@@ -332,27 +328,25 @@
-
+
0
-
+
+
0
-
- 0
-
+
+
+
- 0
+ 0
-
- 0
-
-
- 0
-
+
+
+
@@ -361,26 +355,26 @@
0
+
- 0
+ 0
-
+
0
+
-
- 0
-
+
0
0
-
+
0
@@ -391,16 +385,16 @@
+
+
0
+
-
-
-
-
+
0
@@ -411,7 +405,6 @@
0
-
0
@@ -421,15 +414,21 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php
index 58115537b1f..3fcbffba3b2 100644
--- a/htdocs/compta/bank/class/account.class.php
+++ b/htdocs/compta/bank/class/account.class.php
@@ -1672,8 +1672,7 @@ class Account extends CommonObject
//Replace the old AccountNumber key with the new BankAccountNumber key
$fieldlists = explode(
' ',
- preg_replace('/ ?[^Bank]AccountNumber ?/', 'BankAccountNumber',
- $conf->global->BANK_SHOW_ORDER_OPTION)
+ preg_replace('/ ?[^Bank]AccountNumber ?/', 'BankAccountNumber', $conf->global->BANK_SHOW_ORDER_OPTION)
);
}
}
diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php
index 61024cdd7ff..c111e075972 100644
--- a/htdocs/product/stats/commande_fournisseur.php
+++ b/htdocs/product/stats/commande_fournisseur.php
@@ -44,9 +44,7 @@ if (!empty($user->socid))
$result = restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype);
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
-$hookmanager->initHooks(array(
- 'productstatssupplyorder'
-));
+$hookmanager->initHooks(array('productstatssupplyorder'));
$mesg = '';
diff --git a/htdocs/webservices/server_actioncomm.php b/htdocs/webservices/server_actioncomm.php
index bc3d4a78c6a..39ed3b3cdf5 100644
--- a/htdocs/webservices/server_actioncomm.php
+++ b/htdocs/webservices/server_actioncomm.php
@@ -153,8 +153,8 @@ $server->wsdl->addComplexType(
'sequence',
'',
array(
- 'code' => array('name'=>'code', 'type'=>'xsd:string'),
- 'libelle' => array('name'=>'libelle', 'type'=>'xsd:string')
+ 'code' => array('name'=>'code', 'type'=>'xsd:string'),
+ 'libelle' => array('name'=>'libelle', 'type'=>'xsd:string')
)
);
@@ -164,7 +164,7 @@ $server->wsdl->addComplexType(
'array',
'sequence',
'',
- array(
+ array(
'actioncommtype' => array(
'name' => 'actioncommtype',
'type' => 'tns:actioncommtype',