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: recognizeobject
as a forbidden keyword since PHP 7.2. #499 - ⭐
NewReturnTypeDeclarations
sniff: recognize genericparent
, PHP 7.1iterable
and PHP 7.2object
return type declarations. #505, #499 - ⭐
NewScalarTypeDeclarations
sniff: recognize PHP 7.2object
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. 👏