Skip to content

PHPCompatibility 9.3.3

Compare
Choose a tag to compare
@jrfnl jrfnl released this 11 Nov 03:52
· 44 commits to master since this release
1af08ca

See all related issues and PRs in the 9.3.3 milestone.

Added

  • PHPCompatibility.Constants.NewConstants sniff: detection of yet more (undocumented) PHP 7.2 Sodium constants. #924
  • PHPCompatibility.Keywords.ForbiddenNames sniff: detect the use of more reserved keywords which are not allowed to be used to name certain constructs. #923. Fixes #922

Fixed

  • 🐛 PHPCompatibility.FunctionNameRestrictions.RemovedPHP4StyleConstructors: false positive detecting PHP4-style constructors when declared in interfaces. The class implementing the interface will not have the same name as the interface, so the actual method would not be regarded as a PHP4 style constructor. #921

Credits

Thanks go out to Nikhil for their contribution to this version. 👏