Commit 8b1db195 authored by catch's avatar catch

Issue #2623680 by alexpott, pfrenssen: Fix phpcs.xml.dist to work with the...

Issue #2623680 by alexpott, pfrenssen: Fix phpcs.xml.dist to work with the latest rules and not have unnecessary lines
parent a4f5b2db
......@@ -30,9 +30,9 @@
* additional information, as well as a list of properties that are common to
* all render elements (including form elements). Properties specific to a
* particular element are documented on that element's class.
* Here is a list of properties that are used during the rendering and
* form processing of form elements:
*
* Here is a list of properties that are used during the rendering and form
* processing of form elements:
* - #after_build: (array) Array of callables or function names, which are
* called after the element is built. Arguments: $element, $form_state.
* - #ajax: (array) Array of elements to specify Ajax behavior. See
......
......@@ -2,11 +2,10 @@
<ruleset name="drupal_core">
<description>Default PHP CodeSniffer configuration for Drupal core.</description>
<file>.</file>
<arg name="extensions" value="inc,info,install,module,php,profile,test,theme"/>
<arg name="extensions" value="inc,install,module,php,profile,test,theme"/>
<!--Exclude third party code.-->
<exclude-pattern>./assets/vendor/*</exclude-pattern>
<exclude-pattern>./vendor/*</exclude-pattern>
<!--Exclude test files that are intentionally empty, or intentionally violate coding standards.-->
<exclude-pattern>./modules/system/tests/fixtures/HtaccessTest</exclude-pattern>
......@@ -17,13 +16,14 @@
<exclude name="Drupal.Classes.ClassCreateInstance"/>
<exclude name="Drupal.Classes.ClassDeclaration"/>
<exclude name="Drupal.Classes.InterfaceName"/>
<exclude name="Drupal.Classes.UnusedUseStatement"/>
<exclude name="Drupal.Commenting.ClassComment"/>
<exclude name="Drupal.Commenting.DocComment"/>
<exclude name="Drupal.Commenting.DocCommentStar"/>
<exclude name="Drupal.Commenting.FileComment"/>
<exclude name="Drupal.Commenting.FunctionComment"/>
<exclude name="Drupal.Commenting.HookComment"/>
<exclude name="Drupal.Commenting.InlineComment"/>
<exclude name="Drupal.Commenting.PostStatementComment"/>
<exclude name="Drupal.ControlStructures.ControlSignature"/>
<exclude name="Drupal.ControlStructures.ElseIf"/>
<exclude name="Drupal.ControlStructures.InlineControlStructure"/>
......@@ -45,6 +45,7 @@
<exclude name="Drupal.WhiteSpace.CloseBracketSpacing"/>
<exclude name="Drupal.WhiteSpace.Comma"/>
<exclude name="Drupal.WhiteSpace.EmptyLines"/>
<exclude name="Drupal.WhiteSpace.ObjectOperatorSpacing"/>
<exclude name="Drupal.WhiteSpace.OpenBracketSpacing"/>
<exclude name="Drupal.WhiteSpace.OperatorSpacing"/>
<exclude name="Drupal.WhiteSpace.ScopeClosingBrace"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment