Skip to content

Commit f274d7b

Browse files
committed
And this
1 parent 13ebfcd commit f274d7b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,9 @@
2222
<exclude name="PHPCompatibility.Classes.NewClasses.valueerrorFound"/>
2323
</rule>
2424

25+
<!-- Prevent false positives being thrown when run over the code of polyfill-util itself. -->
26+
<rule ref="PHPCompatibility.Attributes.NewAttributes.PHPNativeAttributeFound">
27+
<exclude-pattern>/polyfill-php80/Resources/stubs/Attribute\.php$</exclude-pattern>
28+
</rule>
29+
2530
</ruleset>

0 commit comments

Comments
 (0)