Releases: llaville/php-compatinfo
Releases · llaville/php-compatinfo
5.5.4
5.5.3
5.5.2
Added
- GH-305
--exclude
option to be able to filter data source - Display list of directories and files scanned when verbose mode is active on console
Fixed
5.5.1
5.5.0
5.4.4
5.4.3
v5.4.2
Changed
- Phar manifest (
--manifest
option) is no more available. Will be back in major version 6.0 with another format. - GH-270 - Composer Automation to build PHAR distribution
- PR-289 - Link the EOL page of php.net in README (thanks to @szepeviktor)
Fixed
- GH-284 - Errors while running on empty files
v5.4.1
Improved Conditional Code detection and compatibility with PHP 8
Added
Documentation about conditional code
Changed
NodeNormalizer
did not raise anymore aLogicException
when node is not support
Fixed
- GH-277 - Clean-up Monolog references (thanks to @remicollet to his report GH-276)
- GH-278 - Clean-up BARTLETTRC references and MAN page (thanks to @remicollet to his report GH-276)
- GH-279 - Implicit Composer requirement to doctrine/collection (thanks to @remicollet to his report GH-276)
- GH-280 - Tests failure with PHPUnit on version 5.4.0 (thanks to @remicollet to his report GH-276)
- GH-281 -
--output
doesn't work anymore (thanks to @remicollet) - PR-282 - Named parameters confusion with PHP 8 (thanks to @remicollet)
Enhances PHP 7 features detection
Added
- introduces new
DeclareSniff
to enhance PHP 7 declare control structure detection - (see also GH-268) - new
AnonymousClassSniff
to detect anonymous class - (see also GH-269) - new
ReturnTypeDeclarationSniff
to enhance PHP 7 detection - (see also GH-233. Thanks to @CybotTM) - new
ParamTypeDeclarationSniff
to detect type hint on function signatures - (see also GH-273) - new
ReservedSniff
to enhance PHP 7 detection - (see also GH-186. Thanks to @fabiang) - uses new
NullCoalesceOperatorSniff
instead of internal compatibility analyser code - (see also GH-260) - new
PowOperatorSniff
to solve issues GH-142 and GH-211 - new
UseTraitSniff
to solve issue GH-227 - new
ClassMemberAccessSniff
to solve issue GH-154 - new
GeneratorSniff
to solve issue GH-226 - new
GotoSniff
to solve issue GH-200 - new
EmptySniff
to solve issues GH-207 and GH-238 - new
PropertyDeclarationSniff
to solve issue GH-119 - new
MagicClassConstantSniff
to solve issue GH-218 - new
CryptStringSniff
to solve issue GH-220 - new
ConditionalCodeSniff
to detection conditional code - replaces metrics structure by an OOP mechanism (Profiler/Profile/DataCollector)
Changed
- Application version strategy :
composer/package-versions-deprecated
is used to handle version in Composer/Git strategy - speed-up analysis process by removing priority file queue that is no more necessary
Removed
- Removes usage of
jean85/pretty-package-versions
package to handle Composer/Git version strategy - column
matches
in compatibility analyser output php.all
information that was confusing for lot of users
Fixed
- issue GH-275 Missing extension when class name FQN is resolved under user namespace