PHPCompatibility v9.3.5 Release Notes

Release Date: 2019-12-27 // almost 2 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. ๐Ÿ‘