See all related issues and PRs in the 8.0.1 milestone.
Added
- 🌟 New
DeprecatedTypeCastssniff to detect deprecated and removed type casts, such as the(unset)type cast as deprecated in PHP 7.2. #498 - 🌟 New
NewTypeCastssniff 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 - ⭐
DeprecatedFunctionssniff: recognize some more PHP 7.2 deprecated functions. #501 - ⭐
DeprecatedIniDirectivessniff: recognize more PHP 7.2 deprecated ini directives. #500 - ⭐
ForbiddenNamessniff: recognizeobjectas a forbidden keyword since PHP 7.2. #499 - ⭐
NewReturnTypeDeclarationssniff: recognize genericparent, PHP 7.1iterableand PHP 7.2objectreturn type declarations. #505, #499 - ⭐
NewScalarTypeDeclarationssniff: recognize PHP 7.2objecttype 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. 👏