Skip to content

Releases: llaville/php-compatinfo

5.5.4

10 Dec 14:45
Compare
Choose a tag to compare

Changed

  • Backport (from branch 6.0) MegaLinter v5 as QA tool for CI

Fixed

  • Backport reference:show <extension> --dependencies (feature available since PHP_CompatInfoDB 3.6.0)

5.5.3

03 May 06:14
Compare
Choose a tag to compare

Fixed

CAUTION Previous version 5.5.2 was displayed as 5.5.1

5.5.2

12 Apr 08:07
Compare
Choose a tag to compare

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

  • GH-301 Multiple conditions not displayed
  • GH-303 Report unavailable extension more clearly
  • issue (on static context) when running single TestCase with commit 14b16b3
  • report unavailable database more clearly

5.5.1

13 Mar 10:22
Compare
Choose a tag to compare

Fixed

  • Autoloader regression when using as dependency in another project

5.5.0

13 Mar 06:56
Compare
Choose a tag to compare

CAUTION: uses config/bootstrap.php to apply autoloader and initialize environment variables (APP_ENV and APP_PROXY_DIR)

Changed

  • raise PHP minimum requirement to version 7.2
  • raise bartlett/php-compatinfo-db dependency to version 3.4

5.4.4

22 Feb 06:37
Compare
Choose a tag to compare

Added

  • GH-271 CI with Github Actions Workflow

Removed

  • Composer Automation to build PHAR distribution (removed only humbug/box dev dependency)

5.4.3

12 Feb 06:54
Compare
Choose a tag to compare

Fixed

  • GH-292 - Uncaught Error: Object of class PhpParser\Node\UnionType could not be converted to string

v5.4.2

20 Nov 12:09
Compare
Choose a tag to compare

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

06 Oct 12:50
Compare
Choose a tag to compare

Improved Conditional Code detection and compatibility with PHP 8

Added

Documentation about conditional code

Changed

  • NodeNormalizer did not raise anymore a LogicException when node is not support

Fixed

Enhances PHP 7 features detection

01 Oct 09:29
Compare
Choose a tag to compare

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