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 newFFI
extension related classes as introduced in PHP 7.4. #949 - ๐ฑ โญ๏ธ
PHPCompatibility.IniDirectives.NewIniDirectives
sniff: detect use of the newFFI
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 forlist
when used in aforeach()
condition. #930. Fixes #928, #929
Credits
๐ฑ Thanks go out to Sergii Bondarenko for their contribution to this version. ๐
- ๐ฑ ๐