mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47:13 +00:00
php allows the backtrace arguments to be modified via the backtrace. By using array_map we make sure that we do not overwrite references.
23 lines
848 B
XML
23 lines
848 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="phpDocumentor">
|
|
<description>The coding standard for phpDocumentor.</description>
|
|
|
|
<file>src</file>
|
|
<file>tests/unit</file>
|
|
<exclude-pattern>*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern>
|
|
<exclude-pattern>*/tests/unit/Assets/*</exclude-pattern>
|
|
<arg value="p"/>
|
|
|
|
<rule ref="phpDocumentor">
|
|
<exclude name="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly.ReferencedGeneralException" />
|
|
</rule>
|
|
|
|
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
|
|
<exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
|
|
</rule>
|
|
|
|
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements.UnusedMethod">
|
|
<exclude-pattern>*/src/DocBlock/Tags/InvalidTag.php</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|