![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/metras.v32.1/ |
<?xml version="1.0"?> <ruleset name="Roots"> <description>Roots Coding Standards</description> <!-- Scan these files --> <file>functions.php</file> <file>index.php</file> <file>app</file> <file>config</file> <file>resources/views</file> <!-- Show colors in console --> <arg value="-colors"/> <!-- Show sniff codes in all reports --> <arg value="s"/> <!-- Use PSR-2 as a base --> <rule ref="PSR12"/> <!-- Exclusions below are for resources/views/ folder --> <!-- Allow php files without any PHP in them --> <rule ref="Internal.NoCodeFound"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Allow braces on same line for named functions --> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Allow closing braces to be on the same line --> <rule ref="Squiz.WhiteSpace.ScopeClosingBrace"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Disable newline after opening brace --> <rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Allow multiple PHP statements in the same line --> <rule ref="Generic.Formatting.DisallowMultipleStatements.SameLine"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Disable PSR-2 indentation rules that are buggy with 2 spaces --> <rule ref="PSR2.ControlStructures.SwitchDeclaration.BreakIndent"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Don't require a blank line after the last `use` --> <rule ref="PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Allow long lines --> <rule ref="Generic.Files.LineLength.TooLong"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Ignore indentation rules --> <rule ref="Generic.WhiteSpace.ScopeIndent"> <exclude-pattern>resources/views</exclude-pattern> </rule> <!-- Allow PHP closing tags --> <rule ref="PSR2.Files.ClosingTag.NotAllowed"> <exclude-pattern>resources/views</exclude-pattern> </rule> </ruleset>