github PHPCompatibility/PHPCompatibility 9.3.2
PHPCompatibility 9.3.2

latest releases: 9.3.5, 9.3.4, 9.3.3...
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.2 SODIUM_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 now protected, it should never have been public 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 uppercase B were not always recognized correctly. #909

Don't miss a new PHPCompatibility release

NewReleases is sending notifications on new releases.