Initial Drupal 11 with DDEV setup
This commit is contained in:
26
vendor/grasmash/yaml-cli/phpcs.xml.dist
vendored
Normal file
26
vendor/grasmash/yaml-cli/phpcs.xml.dist
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<ruleset name="YamlCLI">
|
||||
|
||||
<description>Yaml CLI PHP CodeSniffer configuration.</description>
|
||||
|
||||
<arg name="extensions" value="php"/>
|
||||
|
||||
<arg name="colors"/>
|
||||
<arg name="cache" value="build/.phpcs-cache"/>
|
||||
<arg name="parallel" value="10"/>
|
||||
|
||||
<file>.</file>
|
||||
|
||||
<!-- Danger! Exclude patterns apply to the full file path, including parent directories of the current repository. -->
|
||||
<!-- Don't exclude common directory names like `build`, which will fail on Travis CI because of /home/travis/build/acquia/<project>. -->
|
||||
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/981 -->
|
||||
<exclude-pattern>var/</exclude-pattern>
|
||||
<exclude-pattern>vendor/*</exclude-pattern>
|
||||
<exclude-pattern>tests/resources/*</exclude-pattern>
|
||||
|
||||
<rule ref="PSR2">
|
||||
<exclude name="Generic.Files.LineLength"/>
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
||||
Reference in New Issue
Block a user