PHPCompatibility.PHP.NewClasses - been in the repo from before the first tag
PHPCompatibility.PHP.NewConstants - introduced in 8.1.0
PHPCompatibility.PHP.NewFunctions - been in the repo from before the first tag
PHPCompatibility.PHP.NewInterfaces`- introduced in 7.0.3
PHPCompatibility.PHP.RemovedExtensions - been in the repo from before the first tag
In other words, the minimum version of PHPCompatibility should be 8.1.0 for this release.
This will also prevent an update to PHPCompatibility 9.0.0 before we've had a chance to update the ruleset to reflect the new sniff names.
In a separate commit, I've removed --with-dependencies from the Travis composer validation as the PHPCompatibility composer file has a warning and would fail the build. The build should now pass.
The WP ruleset references the following sniffs:
In other words, the minimum version of PHPCompatibility should be 8.1.0 for this release.
This will also prevent an update to PHPCompatibility 9.0.0 before we've had a chance to update the ruleset to reflect the new sniff names.
In a separate commit, I've removed
--with-dependencies
from the Travis composer validation as the PHPCompatibility composer file has a warning and would fail the build. The build should now pass.