Explorar el Código

[phpcs] Remove check for Zend OperatorSpacing

This check is not helping as code is quite readable
logmanoriginal hace 7 años
padre
commit
e3392a738b
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 1
      index.php
  2. 0 1
      phpcs.xml

+ 1 - 1
index.php

@@ -133,7 +133,7 @@ try {
 		unset($params['format']);
 		unset($params['_noproxy']);
 		$bridge->setDatas($params);
-			
+
 		// Data transformation
 		try {
 			$format = Format::create($format);

+ 0 - 1
phpcs.xml

@@ -24,7 +24,6 @@
   <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
   <rule ref="PSR2.Files.EndFileNewline"/>
   <rule ref="Squiz.WhiteSpace.CastSpacing"/>
-  <rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing"/>
   <rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
   <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
   <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>