Releases: humbug/php-scoper
Releases · humbug/php-scoper
0.13.1
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
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
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
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)