Skip to content

Releases: humbug/php-scoper

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)

0.11.1

04 Nov 15:31
550011a
Compare
Choose a tag to compare
0.11.1 Pre-release
Pre-release

Bugfixes

  • Fix scoping of PSR-0 based packages with global classes (#279)
  • Do not prefix native functions and constants (#280)

0.11.0

31 Oct 07:49
e5efabc
Compare
Choose a tag to compare
0.11.0 Pre-release
Pre-release

Features

  • Add nowdoc support (#275)
  • Add support for the eval function (#277)
  • Add support for Symfony (#271)

Bugfixes

  • Fix the scoping of the __autoload function (#270)

Misc

  • Fix running the tests with phpdbg (#276)
  • Add Code Sniffer (#272, #273)
  • Add PHPStan (#274)

0.10.3

24 Oct 12:18
a40ad6f
Compare
Choose a tag to compare
0.10.3 Pre-release
Pre-release

Bugfixes

  • Whitelist functions as soon as they are used (#269)
  • Update the PHAR usages (#266)
  • Fix with whitelisted files for Configurable Scoper (#268)