Skip to content

Releases: humbug/php-scoper

0.13.1

22 Jan 22:40
8131814
Compare
Choose a tag to compare
0.13.1 Pre-release
Pre-release

Bugfixes

  • Fix scoping of PSR-4 locator services in Symfony (#370)
  • Handle functions as case-insensitive names (#371)
  • Fix isolated finder (#372)

Misc

  • Update dependencies (#374)
  • Update readme install instructions (#373)
  • Tweak Makefile (#375)

0.13.0

13 Dec 15:06
829152c
Compare
Choose a tag to compare
0.13.0 Pre-release
Pre-release

Features

  • Add support for PHP 7.4 new features (#359)

Bugfixes

  • Fix string resolution with leading backslash (#363)
  • Add e2e test to ensure the isolated finder exists (#364)

Misc

  • Update dependencies (#358)
  • Remove unnecessary constants from the reflector (#360)
  • Update phpstan (#361)
  • Update Infection (#362)

0.12.4

26 Jun 11:38
50c84a4
Compare
Choose a tag to compare
0.12.4 Pre-release
Pre-release

Bugfixes

  • Fix easy cases of date related functions (#341)
  • Fix the scoped Reflector (#344)
  • Fix invalid version in the PHAR (#346)

Misc

  • Use PHPStormStubMap directory from PHPStorm stubs instead of BetterReflection (#345)

0.12.3

09 Jun 17:45
e699999
Compare
Choose a tag to compare
0.12.3 Pre-release
Pre-release

Bugfixes

  • Add a guard before loading the whitelisted classes (#340)
  • Fix the version displayed in the PHAR (#339)

0.12.2

09 Jun 08:31
c30be71
Compare
Choose a tag to compare
0.12.2 Pre-release
Pre-release

Bugfixes

  • Fix a check related to the GitHub API making the tests fail randomly

0.12.1

08 Jun 19:14
e8ae870
Compare
Choose a tag to compare
0.12.1 Pre-release
Pre-release

Bugfixes

  • Update Reflector to account for missing symbols (#333)

Various changes

  • Update dependencies (#332)
  • Update the Composer root version (#334)
  • Enable back the disabled end-to-end tests (#335)

0.12.0

01 Jun 21:12
e5149dd
Compare
Choose a tag to compare
0.12.0 Pre-release
Pre-release

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)

0.11.4

13 Nov 08:47
6fcb3ce
Compare
Choose a tag to compare
0.11.4 Pre-release
Pre-release

Bugfixes

  • Fix the prefixing of returned string literals (#292)
  • Fix the Box recommendations (#293)

0.11.3

11 Nov 18:11
c09b336
Compare
Choose a tag to compare
0.11.3 Pre-release
Pre-release

Bugfixes

  • Fix whitelisting usages (#287)
  • Add zend_loader_file_encoded to the list of known internal functions (#290)

0.11.2

07 Nov 16:28
40b8942
Compare
Choose a tag to compare
0.11.2 Pre-release
Pre-release

Bugfixes

  • Fix whitelisting of constants used in defined() calls (#283)
  • Do not prefix internal constants in defined() and define() calls (#284)