PHPCompatibility v9.3.3 Release Notes

Release Date: 2019-11-11 // over 4 years ago
  • ๐Ÿ‘€ 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. ๐Ÿ‘