Releases: humbug/php-scoper
Releases 路 humbug/php-scoper
0.10.2
Bugfixes
- Fix the composer root version being used (#265)
- Fix the whitelisting of classes (#263)
0.10.1
Bugfixes
- Allow usage of the
whitelist-global-classes
setting
0.10.0
Features
- Add files whitelist feature (#262)
Bugfixes
- Fix usage of the new configuration settings (#262)
0.9.2
Bugfixes
- Fix the version used in the PHAR (#259)
- Fix scoping of string literal classes which contains numbers (#258)
Misc
- Use an application factory (#260)
0.9.0
Features
- Smarter function arguments scoping (#228)
- Use a random prefix for PHP-Scoper (#234)
- Whitelist global functions by default (#231)
- Allow to whitelist functions (#241)
- Allow to whitelist symbols with a pattern (#243)
- Whitelist classes belonging to the global namespace by default (#251, #252)
- Add Laravel support (#246)
Bugfixes
- Fix string literal scoping (#235)
- Fix whitelisting functions (#238)
Misc
- Add a warning regarding a limitation with the namespace whitelist (#230)
- Add a test to ensure the e2e rule is always in sync in the Makefile (#240)
- Rework the whitelist API (#247)
- Fail when files are found in _specs (#232)
- Improve the Makefile help (#229)
- Add more contribution doc (#233)
0.8.1
Bugfixes
- Fix the namespace whitelisting autoloading (#223)
0.8.0
Features
- Allow to whitelist a namespace (#213, #216, #217)
- Allow to whitelist constants (#214, #219)
- Allow to whitelist constants from global namespace (#218)
Bugfixes
- Fix whitelist case sensitiveness (#222)
Misc
- Ensure PHP-Scoper can only be called from the CLI (#220)
- Ensure string literals in define statements are properly prefixed (#221)
BC breaks
- The API signature has changed to convert the
array
$whitelist
into the Whitelist
object (#213)
- Constants from the global namespace are now whitelisted by default (#218)
0.7.0
Features
- Add the prefix to the configuration (#186)
Bugfixes
- Ensure the whitelist feature works well on interfaces (#205)
- Fix the scoping of JSON files (#207)
- Fix scoping of namespaces which have a dash in their namespace for string literals (#211)
Misc
BC Breaks
0.6.1
Empty release: this release is just to trigger a new build and release the PHAR.