PHPCompatibility v8.0.1 Release Notes

Release Date: 2017-08-07 // over 6 years ago
  • ๐Ÿ‘€ See all related issues and PRs in the 8.0.1 milestone.

    โž• Added

    • ๐Ÿฑ ๐ŸŒŸ New DeprecatedTypeCasts sniff to detect deprecated and removed type casts, such as the (unset) type cast as deprecated in PHP 7.2. #498
    • ๐Ÿฑ ๐ŸŒŸ New NewTypeCasts sniff to detect type casts not present in older PHP versions such as the (binary) type cast as added in PHP 5.2.1. #497
    • ๐Ÿฑ โญ๏ธ NewGroupUseDeclaration: Detection of PHP 7.2 trailing comma's in group use statements. #504
    • ๐Ÿฑ โญ๏ธ DeprecatedFunctions sniff: recognize some more PHP 7.2 deprecated functions. #501
    • ๐Ÿฑ โญ๏ธ DeprecatedIniDirectives sniff: recognize more PHP 7.2 deprecated ini directives. #500
    • ๐Ÿฑ โญ๏ธ ForbiddenNames sniff: recognize object as a forbidden keyword since PHP 7.2. #499
    • ๐Ÿฑ โญ๏ธ NewReturnTypeDeclarations sniff: recognize generic parent, PHP 7.1 iterable and PHP 7.2 object return type declarations. #505, #499
    • ๐Ÿฑ โญ๏ธ NewScalarTypeDeclarations sniff: recognize PHP 7.2 object type declarion. #499

    ๐Ÿ”„ Changed

    ๐Ÿฑ โœ๏ธ Improved clarity of the deprecated functions alternative in the error message. #502

    ๐Ÿ›  Fixed

    ๐Ÿš‘ ๐Ÿš’ Temporary hotfix for installed_paths (pending upstream fix.) #503

    Credits

    ๐Ÿฑ Thanks go out to Juliette Reinders Folmer for her contributions to this version. ๐Ÿ‘