Skip to content

Commit fd5ec1d

Browse files
committed
Ruleset: allow for T_FN token
PHP 7.4 introduced a new T_FN token which is backfilled by PHPCS since version 3.5.3, so PHPCS standards using the token are presumed to use PHPCS 3.5.3+.
1 parent 652a504 commit fd5ec1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PHPCSDev/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<exclude name="PHPCompatibility.Constants.NewConstants.t_coalesce_equalFound"/>
2424
<exclude name="PHPCompatibility.Constants.NewConstants.t_yield_fromFound"/>
2525
<exclude name="PHPCompatibility.Constants.NewConstants.t_bad_characterFound"/>
26+
<exclude name="PHPCompatibility.Constants.NewConstants.t_fnFound"/>
2627
</rule>
2728

2829

0 commit comments

Comments
 (0)