File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
PHPCompatibilitySymfonyPolyfillPHP80 Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1616 <!-- https://github.com/symfony/polyfill-php80/tree/master/Resources/stubs -->
1717 <exclude name =" PHPCompatibility.Interfaces.NewInterfaces.stringableFound" />
1818 <exclude name =" PHPCompatibility.Classes.NewClasses.attributeFound" />
19+ <exclude name =" PHPCompatibility.Classes.NewClasses.phptokenFound" />
1920 <exclude name =" PHPCompatibility.Classes.NewClasses.unhandledmatcherrorFound" />
2021 <exclude name =" PHPCompatibility.Classes.NewClasses.valueerrorFound" />
2122 </rule >
Original file line number Diff line number Diff line change @@ -32,3 +32,5 @@ class Foo implements Stringable {}
3232}
3333
3434class MyAttributes extends \Attribute {}
35+
36+ if (is_a ($ token , PhpToken::class)) {}
You can’t perform that action at this time.
0 commit comments