PHPCompatibility v7.0.1 Release Notes
Release Date: 2016-08-02 // over 7 years ago-
๐ See all related issues and PRs in the [7.0.1 milestone].
๐ Changed
- ๐ :pushpin: The
DeprecatedIniDirectives
sniff used to throw anerror
when a deprecated ini directive was used in combination withini_get()
. It will now throw awarning
instead. #122 Fixes #119. Usage of deprecated ini directives in combination withini_set()
will still throw anerror
. - ๐ :pushpin: The
PregReplaceEModifier
sniff now also detects thee
modifier when used with thepreg_filter()
function. While this is undocumented, thee
modifier was supported by thepreg_filter()
function as well. #128 - ๐ :pencil2: The
RemovedExtensions
sniff contained superfluous deprecation information in the error message. #131
โ Removed
- ๐ :wrench: Duplicate builds from the Travis CI build matrix. #132
๐ Fixed
- ๐ :bug: The
ForbiddenNames
sniff did not allow for the PHP 5.6use function ...
anduse const ...
syntax. #126 Fixes #124. - :bug: The
NewClasses
sniff failed to detect new classes when the class was instantiated without parenthesis, i.e.new NewClass;
. #121 - :bug: The
PregReplaceEModifier
sniff failed to detect thee
modifier when using bracket delimiters for the regex other than the{}
brackets. #128 - โ :green_heart: Unit tests failing against PHPCS 2.6.1.
Credits
Thanks go out to [Jason Stallings], [Juliette Reinders Folmer] and [Ryan Neufeld] for their contributions to this version. :clap:
- ๐ :pushpin: The