Download Latest Version PHPCompatibility 9.3.5 source code.tar.gz (201.6 kB)
Email in envelope

Get an email when there's a new version of PHPCompatibility

Home / 9.3.2
Name Modified Size InfoDownloads / Week
Parent folder
PHPCompatibility 9.3.2 source code.tar.gz 2019-10-16 190.3 kB
PHPCompatibility 9.3.2 source code.zip 2019-10-16 327.2 kB
README.md 2019-10-16 2.8 kB
Totals: 3 Items   520.2 kB 0

See all related issues and PRs in the 9.3.2 milestone.

Added

  • :star: PHPCompatibility.Constants.NewConstants sniff: detection of the PHP 7.2 SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 constant. #915
  • :books: Readme: a list of projects which are build upon or extend PHPCompatibility. #904

Changed

  • :pushpin: PHPCompatibility.FunctionNameRestrictions.RemovedPHP4StyleConstructors: minor efficiency fix to make the sniff faster. #912
  • :pushpin: PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames: functions marked as @deprecated in the function docblock will now be ignored by this sniff. #917. Fixes #911
  • :pencil: PHPCompatibility.FunctionDeclarations.ForbiddenToStringParameters: the $ooScopeTokens property is now protected, it should never have been public in the first place. #907
  • :recycle: More code documentation fixes. #903, #916
  • :books: Readme/Contributing: various tweaks. #904, #905

Fixed

  • :bug: PHPCompatibility.FunctionUse.OptionalToRequiredFunctionParameters: false positive when a class is instantiated which has the same name as one of the affected functions. #914. Fixes #913
  • :bug: PHPCompatibility.FunctionUse.RequiredToOptionalFunctionParameters: false positive when a class is instantiated which has the same name as one of the affected functions. #914
  • :bug: PHPCompatibility.MethodUse.NewDirectCallsToClone: false positive on calling __clone() from within the class being cloned #910. Fixes #629 (comment)
  • :bug: PHPCompatibility.Miscellaneous.ValidIntegers: binary numbers using an uppercase B were not always recognized correctly. #909
Source: README.md, updated 2019-10-16