fix: includes
This commit is contained in:
23
phpcs.xml
Normal file
23
phpcs.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="WordPress-Thumbor">
|
||||
<description>WordPress Thumbor</description>
|
||||
|
||||
<!-- Scan all files in directory -->
|
||||
<file>.</file>
|
||||
<exclude-pattern type="relative">lib/packages/*</exclude-pattern>
|
||||
|
||||
<!-- Scan only PHP files -->
|
||||
<arg name="extensions" value="php"/>
|
||||
|
||||
<!-- Show colors in console -->
|
||||
<arg value="-colors"/>
|
||||
|
||||
<!-- Show sniff codes in all reports -->
|
||||
<arg value="ns"/>
|
||||
|
||||
<rule ref="Squiz.PHP.EmbeddedPhp">
|
||||
<exclude name="Squiz.Commenting.FileComment.Missing"/>
|
||||
</rule>
|
||||
|
||||
<rule ref="Eighteen73-WordPress-Default" />
|
||||
</ruleset>
|
||||
Reference in New Issue
Block a user