Closed
Description
- Deprecate two
abstract
methods which have needlessly cultural insensitive method names. - Introduce - temporarily non-abstract - replacement methods for both:
++getBlockedFiles()
getDisallowedFiles()
++ andgetAllowedFiles()
.
This is a soft deprecation (changelog only) as throwing a deprecation notice for these methods would be unnecessarily disruptive for end-users.
In version 4.0, the deprecated methods will be removed and the replacement methods will be made abstract
and therefore required.
Introducing the replacement methods at the same time as the deprecation will allow external standards which contain custom filters and other packages offering custom filters, to make the filters cross-version compatible with PHPCS 3.9.0+ as well as 4.x.
When both methods are available, I propose for the replacement methods to take precedence over the deprecated methods.
The impact of this deprecation is expected to be low.