Initial Commit
This commit is contained in:
24
dependencies/pablo-sg-pacheco/wp-namespace-autoloader/phpcs.xml
vendored
Normal file
24
dependencies/pablo-sg-pacheco/wp-namespace-autoloader/phpcs.xml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="WordPress Coding Standards for Plugins">
|
||||
<description>Generally-applicable sniffs for WordPress plugins</description>
|
||||
|
||||
<rule ref="WordPress">
|
||||
|
||||
<!-- The file needs to be in PSR-4 format to be autoloaded. -->
|
||||
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
|
||||
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
|
||||
</rule>
|
||||
|
||||
<!-- Check all PHP files in directory tree by default. -->
|
||||
<arg name="extensions" value="php"/>
|
||||
<file>.</file>
|
||||
|
||||
<!-- Show progress and sniff codes in all reports -->
|
||||
<arg value="ps"/>
|
||||
|
||||
<exclude-pattern>./vendor/*</exclude-pattern>
|
||||
|
||||
<config name="minimum_supported_wp_version" value="5.0"/>
|
||||
|
||||
|
||||
</ruleset>
|
Reference in New Issue
Block a user