Skip to content

0.12.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@theofidry theofidry released this 01 Jun 21:12
e5149dd

Features

  • Update dependencies & Bump to PHP 7.2 (#312)
  • Leverage BetterReflection and PHPStorm stubs for detecting if a symbol is internal (#318)
  • Bring better performances (#329)

Bugfixes

  • Fixed duplicate key found in scoper.inc.php.tpl (#300)
  • Fix "vendor" directories matching pattern for Windows (#310)
  • Fix Application namespace conflict (#317)

Various internal API changes

  • Introduce a Container class instead of relying on the ApplicationFactory (#322)
  • Simplify the Application version retrieval (#322)
    • Move the code in a get_php_scoper_version(): string similar to get_box_version(): string (#322)
    • Retrieve the version from it if no version is passed (#322)
    • No longer rely on a version set within the PHAR (#322)
  • Remove the deprecated create_scoper() function (#322)
  • Remove the deprecated Humbug\PhpScoper\Console\Configuration and make the parent Humbug\PhpScoper\Configuration final (#329)
  • Replace usage of uniqid by bin2hex(random_bytes()) (#329)
  • Move namespace related PhpParser classes under PhpParser\NamespaceStmt (#329)
  • Similar change as namespaces for use statements (#329)