Releases: humbug/php-scoper
Releases 路 humbug/php-scoper
0.12.3
Bugfixes
- Add a guard before loading the whitelisted classes (#340)
- Fix the version displayed in the PHAR (#339)
0.12.2
Bugfixes
- Fix a check related to the GitHub API making the tests fail randomly
0.12.1
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
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
Bugfixes
- Fix the prefixing of returned string literals (#292)
- Fix the Box recommendations (#293)
0.11.3
Bugfixes
- Fix whitelisting usages (#287)
- Add
zend_loader_file_encoded
to the list of known internal functions (#290)
0.11.2
Bugfixes
- Fix whitelisting of constants used in
defined()
calls (#283)
- Do not prefix internal constants in
defined()
and define()
calls (#284)
0.11.1
Bugfixes
- Fix scoping of PSR-0 based packages with global classes (#279)
- Do not prefix native functions and constants (#280)
0.11.0
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
Bugfixes
- Whitelist functions as soon as they are used (#269)
- Update the PHAR usages (#266)
- Fix with whitelisted files for Configurable Scoper (#268)