We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 141e5e5 + 610b50c commit a109ad2Copy full SHA for a109ad2
2 files changed
PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml
@@ -16,6 +16,7 @@
16
<!-- https://github.com/symfony/polyfill-php80/tree/master/Resources/stubs -->
17
<exclude name="PHPCompatibility.Interfaces.NewInterfaces.stringableFound"/>
18
<exclude name="PHPCompatibility.Classes.NewClasses.attributeFound"/>
19
+ <exclude name="PHPCompatibility.Classes.NewClasses.phptokenFound"/>
20
<exclude name="PHPCompatibility.Classes.NewClasses.unhandledmatcherrorFound"/>
21
<exclude name="PHPCompatibility.Classes.NewClasses.valueerrorFound"/>
22
</rule>
Test/SymfonyPolyfillPHP80Test.php
@@ -32,3 +32,5 @@ class Foo implements Stringable {}
32
}
33
34
class MyAttributes extends \Attribute {}
35
+
36
+if (is_a($token, PhpToken::class)) {}
0 commit comments