EVOLUTION-MANAGER
Edit File: phpcs.xml
<?xml version="1.0"?> <ruleset name="WordPress Coding Standards"> <description>WordPress Coding Standards</description> <!-- Scan all files in directory --> <file>.</file> <!-- Scan only PHP files --> <arg name="extensions" value="php"/> <!-- Show progress, show the error codes for each message (source). --> <arg value="ps" /> <!-- Check up to 8 files simultaneously. --> <arg name="parallel" value="8"/> <!-- Exclude the Composer Vendor directory. --> <exclude-pattern>/vendor/*</exclude-pattern> <!-- Exclude minified Javascript files. --> <exclude-pattern>*.min.js</exclude-pattern> <!-- Include the WordPress-Extra standard. --> <rule ref="WordPress-Extra"> <exclude name="Universal.Arrays.DisallowShortArraySyntax.Found"/> <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed"/> <exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeEnd"/> <exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeOpen"/> <exclude name="WordPress.PHP.DisallowShortTernary.Found"/> </rule> <!-- Let's also check that everything is properly documented. --> <!--<rule ref="WordPress-Docs"/>--> <rule ref="Internal.NoCodeFound"> <severity>0</severity> </rule> </ruleset>