Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,29 @@
<config name="testVersion" value="5.4-"/>
<rule ref="PHPCompatibility">
<!-- Exclude PHP constants back-filled by PHPCS. -->
<exclude name="PHPCompatibility.PHP.NewConstants.t_finallyFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_yieldFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_ellipsisFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_powFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_pow_equalFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_spaceshipFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_coalesceFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_coalesce_equalFound"/>
<exclude name="PHPCompatibility.PHP.NewConstants.t_yield_fromFound"/>

<!-- Unclear how, but appears to be back-filled anyhow, could be that PHP did so before the token was in use. -->
<exclude name="PHPCompatibility.PHP.NewConstants.t_traitFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_finallyFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_yieldFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_ellipsisFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_powFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_pow_equalFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_spaceshipFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_coalesceFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_coalesce_equalFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_yield_fromFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_bad_characterFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_fnFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_attributeFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_matchFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_nullsafe_object_operatorFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_name_fully_qualifiedFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_name_qualifiedFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_name_relativeFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_readonlyFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_enumFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_public_setFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_protected_setFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.t_private_setFound"/>
<exclude name="PHPCompatibility.Constants.RemovedConstants.t_bad_characterFound"/>
</rule>

</ruleset>