OwlCyberSecurity - MANAGER
Edit File: phpcs.ruleset.xml
<?xml version="1.0"?> <ruleset name="WordPress Coding Standards for Plugins"> <description>Generally-applicable sniffs for WordPress plugins</description> <!-- Only sniff PHP files --> <arg name="extensions" value="php"/> <exclude-pattern>*/vendor/*</exclude-pattern> <exclude-pattern>*/tests/*</exclude-pattern> <rule ref="WordPress-Core" /> <rule ref="WordPress-Docs" /> <rule ref="WordPress.WP.I18n"> <properties> <property name="text_domain" type="array"> <element value="force-regenerate-thumbnails"/> </property> </properties> </rule> <config name="testVersion">7.4-</config> <rule ref="PHPCompatibilityWP"> <severity>10</severity> </rule> <rule ref="WordPress.Security"> <severity>10</severity> </rule> <rule ref="WordPress.DB.PreparedSQL"> <severity>10</severity> </rule> </ruleset>