<ruleset name="WP-CLI">
<description>WP-CLI coding standards.</description>
+ <exclude-pattern>php/Spyc.php</exclude-pattern>
+
<rule ref="Generic.CodeAnalysis.VariableAnalysis">
+ <exclude name="Generic.CodeAnalysis.VariableAnalysis.UnusedVariable"/>
+
<properties>
<property name="allowUnusedFunctionParameters" value="1"/>
</properties>
php behat.phar --format progress
# Run CodeSniffer
-./codesniffer/scripts/phpcs \
- --standard=./ci/ --sniffs=Generic.CodeAnalysis.VariableAnalysis.UndefinedVariable \
- --ignore=php/Spyc.php php/
+./codesniffer/scripts/phpcs --standard=./ci/ php/