whoami7 - Manager
:
/
home
/
rattkxnv
/
www
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
simplehtmldom
/
simplehtmldom
/
Upload File:
files >> /home/rattkxnv/www/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/phpcs.xml
<?xml version="1.0" encoding="UTF-8"?> <ruleset name="PHPCS Coding Standards for simplehtmldom"> <!-- Exclude composer files --> <exclude-pattern>*/vendor/*</exclude-pattern> <!-- Exclude examples --> <!-- TODO: Enforce coding standards on examples --> <exclude-pattern>*/example/*</exclude-pattern> <!-- Exclude docs --> <exclude-pattern>*/docs/*</exclude-pattern> <!-- Exclude tests --> <!-- TODO: Enforce coding standards on tests --> <exclude-pattern>*/tests/*</exclude-pattern> <!-- Check only files with .php extension --> <arg name="extensions" value="php"/> <!-- Show progress --> <arg value="p"/> <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/> <rule ref="Generic.Classes.DuplicateClassName"/> <rule ref="PSR2.Methods.MethodDeclaration" /> <rule ref="Generic.CodeAnalysis.EmptyStatement"/> <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/> <rule ref="PEAR.Functions.ValidDefaultValue"/> <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/> <rule ref="PSR2.ControlStructures.ControlStructureSpacing"/> <rule ref="Squiz.WhiteSpace.CastSpacing"/> <rule ref="Squiz.WhiteSpace.OperatorSpacing"/> <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> <rule ref="Squiz.Strings.ConcatenationSpacing"> <properties> <property name="spacing" value="1"/> <property name="ignoreNewlines" value="true"/> </properties> </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> <properties> <property name="equalsSpacing" value="1"/> </properties> </rule> <!-- TODO: Enforce absolute line limit with phpcs 3.x --> <!-- <rule ref="Generic.Files.LineLength"> <properties> <property name="lineLimit" value="80"/> <property name="absoluteLineLimit" value="120"/> </properties> </rule> --> <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> <rule ref="Generic.PHP.LowerCaseConstant"/> <rule ref="Squiz.Strings.DoubleQuoteUsage"> <exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" /> </rule> <rule ref="Generic.Strings.UnnecessaryStringConcat"/> <rule ref="PSR2.Files.EndFileNewline"/> </ruleset>
Copyright ©2021 || Defacer Indonesia