Loading phpcs.xml.dist +12 −0 Changes for phpcs.xml.dist: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ <description>Default PHP CodeSniffer configuration for Scheduler.</description> <file>.</file> <!-- Temporary fix until drupal.org testbot script is changed. This is also compatible with running phpcs locally, and on Travis, so can be committed. See https://www.drupal.org/project/drupalci_testbot/issues/3283978 --> <config name="installed_paths" value="../../drupal/coder/coder_sniffer/,../../sirbrillig/phpcs-variable-analysis/,../../slevomat/coding-standard/"/> <!-- Initially include all Drupal and DrupalPractice sniffs. --> <rule ref="Drupal"/> <rule ref="DrupalPractice"/> Loading @@ -24,6 +29,13 @@ <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/> </rule> <!-- This rule is disabled in Coder 8.3.10, but undefined variables will --> <!-- be reported when using earlier versions. Hence re-enable the rule so --> <!-- we do not get surprises when testing with other versions. --> <rule ref="DrupalPractice.CodeAnalysis.VariableAnalysis.UndefinedVariable"> <severity>5</severity> </rule> <!-- Ignore all files that match these patterns. By default the full file --> <!-- path is checked, unless type=relative is used. There is an implied * --> <!-- wildcard at each end and periods and slashes must be escaped using \ --> Loading Loading
phpcs.xml.dist +12 −0 Changes for phpcs.xml.dist: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ <description>Default PHP CodeSniffer configuration for Scheduler.</description> <file>.</file> <!-- Temporary fix until drupal.org testbot script is changed. This is also compatible with running phpcs locally, and on Travis, so can be committed. See https://www.drupal.org/project/drupalci_testbot/issues/3283978 --> <config name="installed_paths" value="../../drupal/coder/coder_sniffer/,../../sirbrillig/phpcs-variable-analysis/,../../slevomat/coding-standard/"/> <!-- Initially include all Drupal and DrupalPractice sniffs. --> <rule ref="Drupal"/> <rule ref="DrupalPractice"/> Loading @@ -24,6 +29,13 @@ <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/> </rule> <!-- This rule is disabled in Coder 8.3.10, but undefined variables will --> <!-- be reported when using earlier versions. Hence re-enable the rule so --> <!-- we do not get surprises when testing with other versions. --> <rule ref="DrupalPractice.CodeAnalysis.VariableAnalysis.UndefinedVariable"> <severity>5</severity> </rule> <!-- Ignore all files that match these patterns. By default the full file --> <!-- path is checked, unless type=relative is used. There is an implied * --> <!-- wildcard at each end and periods and slashes must be escaped using \ --> Loading