mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-11-26 20:15:11 +01:00
42 lines
2.0 KiB
XML
42 lines
2.0 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="PHPStan PHPDoc Parser">
|
|
<rule ref="vendor/consistence/coding-standard/Consistence/ruleset.xml">
|
|
<exclude name="Squiz.Functions.GlobalFunction.Found"/>
|
|
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/>
|
|
</rule>
|
|
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml">
|
|
<exclude name="SlevomatCodingStandard.Classes.ClassConstantVisibility.MissingConstantVisibility"/>
|
|
<exclude name="SlevomatCodingStandard.Files.TypeNameMatchesFileName"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"/>
|
|
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification"/>
|
|
<exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation.NonFullyQualifiedClassName"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants"/>
|
|
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions"/>
|
|
<exclude name="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
|
|
</rule>
|
|
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
|
|
<properties>
|
|
<property name="caseSensitive" value="false"/>
|
|
</properties>
|
|
</rule>
|
|
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
|
<properties>
|
|
<property name="newlinesCountBetweenOpenTagAndDeclare" value="0"/>
|
|
</properties>
|
|
</rule>
|
|
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration">
|
|
<properties>
|
|
<property name="usefulAnnotations" type="array" value="
|
|
@dataProvider,
|
|
@requires,
|
|
@throws
|
|
"/>
|
|
<property name="enableNullableTypeHints" type="false" />
|
|
<property name="enableVoidTypeHint" type="false" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|