Skip to content

6.2.0

Compare
Choose a tag to compare
@llaville llaville released this 06 Feb 15:07
· 225 commits to master since this release

Added

  • about command to display current long version and more information about this package.
  • new environment variable APP_VENDOR_DIR that identify vendor directory (auto-detection)
  • APP_DATABASE_URL contains full path without placeholders for SQLite driver.
  • APP_CACHE_DIR identifies directory where you may find the SQLite database version (compatinfo-db.sqlite).
  • APP_HOME_DIR identifies user home directory (whatever platform).
  • Simplify database initialization processus with bridge to new command db:create (from CompatInfoDB)
  • #322 : new sniff to detect PHP (8.1) Enumerations
  • #323 : new sniff to detect PHP (8.1) Readonly Properties
  • #324 : new sniff to detect PHP (8.1) First class callable syntax
  • #325 : new sniff to detect PHP (8.1) New in initializers
  • #329 : new sniff to detect PHP (8.1) Explicit Octal numeral notation
  • #330 : new sniff to detect PHP (8.1) Fibers
  • #331 : new sniff to detect PHP (8.1) Array unpacking support
  • #334 : new sniff to detect PHP (8.0) Named arguments
  • #335 : new sniff to detect PHP (8.0) Attributes
  • #336 : new sniff to detect PHP (8.0) Constructor property promotion
  • #337 : new sniff to detect PHP (8.0) Match expressions
  • #338 : new sniff to detect PHP (8.0) Nullsafe operator syntax
  • #340 : new sniff to detect PHP (8.0) Trailing comma syntax in parameters list and closure use list
  • #341 : new sniff to detect PHP (8.0) Non-capturing catches syntax

Changed

  • #326 : update sniffs to detect PHP (8.1) Intersection types
  • #327 : update sniffs to detect PHP (8.1) Never return type
  • #328 : update sniffs to detect PHP (8.1) Final class constants
  • option --version display now only long version without application description.
  • Checker service handle now, and print into diagnostic the application environment variables (keys/values).
  • Launch an auto-diagnose on db:* commands (excluding db:create) or analyser:run.
  • #343 : Allow displaying PHP suggested version on each reporter
  • Adjust Composer constraints to follow logical OR syntax with two pipes (see https://getcomposer.org/doc/articles/versions.md#version-range)

Fixed

  • #342 : Sniff AttributeSniff raise php.min too much