PHPCompatibility v9.3.5 Release Notes

Release Date: 2019-12-27 // over 4 years ago
  • 👀 See all related issues and PRs in the 9.3.5 milestone.

    ➕ Added

    • 🍱 ⭐️ PHPCompatibility.Classes.NewClasses sniff: recognize the new FFI extension related classes as introduced in PHP 7.4. #949
    • 🍱 ⭐️ PHPCompatibility.IniDirectives.NewIniDirectives sniff: detect use of the new FFI extension related ini directives as introduced in PHP 7.4. #949

    🔄 Changed

    • 🍱 📝 PHPCompatibility.Syntax.NewShortArray: improved clarity of the error message and made it consistent with other error messages in this standard. #934
    • ⚡️ 📝 PHPCompatibility.Interfaces.NewInterfaces: updated the URL which is mentioned in select error messages. #942
    • 📚 ♻️ Another slew of code documentation fixes. #937, #939, #940, #941, #943, #944, #951, #950. Fixes #734.
    • 🏗 💚 Travis: various tweaks. The builds against PHP 7.4 are no longer allowed to fail. #935, #938
      For running the sniffs on PHP 7.4, it is recommended to use PHP_CodeSniffer 3.5.0+ as PHP_CodeSniffer itself is
      not compatible with PHP 7.4 until version 3.5.0.

    🛠 Fixed

    • 🍱 🐛 PHPCompatibility.Classes.NewClasses: two new PHP 7.4 classes were being checked as if they were Exceptions. #945

    Credits

    🍱 Thanks go out to William Entriken for their contribution to this version. 👏


Previous changes from v9.3.4

  • 👀 See all related issues and PRs in the 9.3.4 milestone.

    🛠 Fixed

    • 🍱 🐛 PHPCompatibility.Keywords.ForbiddenNames: false positive for list when used in a foreach() condition. #930. Fixes #928, #929

    Credits

    🍱 Thanks go out to Sergii Bondarenko for their contribution to this version. 👏