Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/phpcs.xml
Назад
<?xml version="1.0"?> <ruleset name="WPML"> <description>WPML Coding Standards</description> <rule ref="WordPress-Core"/> <rule ref="WordPress-Docs"/> <rule ref="WordPress-Extra"/> <file>.</file> <exclude-pattern>*/.git/*</exclude-pattern> <exclude-pattern>*/.githooks/*</exclude-pattern> <exclude-pattern>*/.make/*</exclude-pattern> <exclude-pattern>*/locale/*</exclude-pattern> <exclude-pattern>*/res/*</exclude-pattern> <exclude-pattern>*/vendor/*</exclude-pattern> <exclude-pattern>*/tests/*</exclude-pattern> <exclude-pattern>*.js</exclude-pattern> <exclude-pattern>*.mo</exclude-pattern> <exclude-pattern>*.po</exclude-pattern> <exclude-pattern>*.twig</exclude-pattern> <exclude-pattern>*.css</exclude-pattern> <exclude-pattern>*.scss</exclude-pattern> <!-- How to scan --> <arg value="sp"/><!-- Show sniff and progress --> <arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit --> <arg name="extensions" value="php"/> <arg name="parallel" value="12"/><!-- Enables parallel processing when available for faster results. --> <config name="testVersion" value="5.6-"/> <!-- Rules: Check PHP version compatibility--> <rule ref="vendor/phpcompatibility/php-compatibility/PHPCompatibility"/> <rule ref="vendor/phpcompatibility/phpcompatibility-wp/PHPCompatibilityWP"/> <!-- Rules: WordPress Coding Standards--> <config name="minimum_supported_wp_version" value="4.4"/> <rule ref="vendor/wp-coding-standards/wpcs/WordPress"/> <rule ref="Squiz.Commenting.FileComment.Missing"> <severity>0</severity> </rule> <rule ref="Squiz.Commenting.ClassComment.Missing"> <severity>0</severity> </rule> <rule ref="WordPress.WhiteSpace.PrecisionAlignment.Found"> <!-- This sniff can't tell from intentional and unintentional indentation and this makes it fairly annoying --> <!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1304 --> <severity>0</severity> </rule> <rule ref="Generic.Commenting.DocComment.MissingShort"> <severity>0</severity> </rule> <rule ref="Squiz.Commenting.FunctionComment.Missing"> <severity>0</severity> </rule> <rule ref="Squiz.Commenting.FunctionComment.MissingParamComment"> <severity>0</severity> </rule> <rule ref="WordPress.Files.FileName.InvalidClassFileName"> <severity>0</severity> </rule> <rule ref="WordPress.Files.FileName.NotHyphenatedLowercase"> <severity>0</severity> </rule> <rule ref="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid"> <severity>0</severity> </rule> <rule ref="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase"> <severity>0</severity> </rule> <rule ref="Generic.Arrays.DisallowShortArraySyntax.Found"> <severity>0</severity> </rule> <rule ref="Generic.Arrays.DisallowLongArraySyntax.Found"/> <rule ref="WordPress.PHP.DisallowShortTernary.Found"> <severity>0</severity> </rule> </ruleset>
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка