PHPCompatibility v9.3.2 Release Notes
Release Date: 2019-10-16 // over 4 years ago-
๐ See all related issues and PRs in the [9.3.2 milestone].
โ Added
- โญ๏ธ
PHPCompatibility.Constants.NewConstants
sniff: detection of the PHP 7.2SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13
constant. #915 - ๐ ๐ Readme: a list of projects which are build upon or extend PHPCompatibility. #904
๐ Changed
- ๐
๐
PHPCompatibility.FunctionNameRestrictions.RemovedPHP4StyleConstructors
: minor efficiency fix to make the sniff faster. #912 - ๐ฑ ๐
PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames
: functions marked as@deprecated
in the function docblock will now be ignored by this sniff. #917. Fixes #911 - ๐ฑ ๐
PHPCompatibility.FunctionDeclarations.ForbiddenToStringParameters
: the$ooScopeTokens
property is nowprotected
, it should never have beenpublic
in the first place. #907 - ๐ โป๏ธ More code documentation fixes. #903, #916
- ๐ฑ ๐ Readme/Contributing: various tweaks. #904, #905
๐ Fixed
- ๐ฑ ๐
PHPCompatibility.FunctionUse.OptionalToRequiredFunctionParameters
: false positive when a class is instantiated which has the same name as one of the affected functions. #914. Fixes #913 - ๐ฑ ๐
PHPCompatibility.FunctionUse.RequiredToOptionalFunctionParameters
: false positive when a class is instantiated which has the same name as one of the affected functions. #914 - ๐ฑ ๐
PHPCompatibility.MethodUse.NewDirectCallsToClone
: false positive on calling__clone()
from within the class being cloned #910. Fixes #629 (comment) - ๐ฑ ๐
PHPCompatibility.Miscellaneous.ValidIntegers
: binary numbers using an uppercaseB
were not always recognized correctly. #909
- โญ๏ธ