Files
document-server-integration/web/documentserver-example/php/phpcs.xml
2023-01-30 14:56:32 +03:00

56 lines
2.9 KiB
XML

<?xml version="1.0"?>
<ruleset name="PSR2-standart">
<description>The Extended PSR2 coding standard.</description>
<rule ref="PEAR">
<exclude name="PEAR.Commenting.FileComment.Missing" />
<exclude name="PEAR.Commenting.ClassComment.Missing" />
<exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag" />
<exclude name="PEAR.Commenting.FileComment.MissingVersion" />
<exclude name="PEAR.Commenting.FileComment.MissingCategoryTag" />
<exclude name="PEAR.Commenting.FileComment.MissingPackageTag" />
<exclude name="PEAR.Commenting.FileComment.MissingAuthorTag" />
<exclude name="PEAR.Commenting.FileComment.MissingLicenseTag" />
<exclude name="PEAR.Commenting.FileComment.MissingLinkTag" />
<exclude name="PEAR.Commenting.FileComment.WrongStyle" />
<exclude name="PEAR.Commenting.FunctionComment.MissingParamComment" />
<exclude name="PEAR.Commenting.FunctionComment.SpacingAfterParamType" />
<exclude name="PEAR.Commenting.FunctionCallSignature.CloseBracketLine" />
<exclude name="PEAR.Files.IncludingFile.UseInclude" />
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore" />
<exclude name="PEAR.WhiteSpace.ObjectOperatorIndent.Incorrect" />
<exclude name="PEAR.WhiteSpace.ScopeIndent.IncorrectExact" />
</rule>
<rule ref="PSR2">
<exclude name="PSR2.Methods.FunctionCallSignature.CloseBracketLine" />
<exclude name="PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PSR2.Methods.FunctionCallSignature.Indent" />
</rule>
<rule ref="PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter" />
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="90"/>
<property name="absoluteLineLimit" value="130"/>
</properties>
</rule>
<rule ref="Generic.Commenting.DocComment.MissingShort">
<severity>0</severity>
</rule>
<rule ref="Generic.Commenting.DocComment.TagValueIndent">
<severity>0</severity>
</rule>
<rule ref="Generic.Commenting.DocComment.ContentAfterOpen">
<severity>0</severity>
</rule>
<rule ref="Generic.Commenting.DocComment.ContentBeforeClose">
<severity>0</severity>
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
</ruleset>