Releases: PhpGt/ProtectedGlobal
Stronger tests and static analysis
Whitelisted variables return null if not set
What's Changed
- feature: whitelisted variables return null if not set by @g105b in #145
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #56
- Using assertSame to assert expected strictly by @peter279k in #57
- build: hard dependencies by @g105b in #134
- maintenance: dependabot by @g105b in #143
A lot of dependabot bumps
- Bump phpunit/phpunit from 8.1.6 to 8.2.0 by @dependabot-preview in #22
- Bump phpunit/phpunit from 8.2.0 to 8.2.1 by @dependabot-preview in #23
- Bump phpunit/phpunit from 8.2.1 to 8.2.2 by @dependabot-preview in #24
- Bump phpunit/phpunit from 8.2.3 to 8.2.5 by @dependabot-preview in #27
- Bump phpunit/phpunit from 8.2.5 to 8.3.5 by @dependabot-preview in #31
- Bump phpunit/phpunit from 8.3.5 to 8.4.2 by @dependabot-preview in #34
- Bump phpunit/phpunit from 8.4.2 to 8.5.3 by @dependabot-preview in #39
New Contributors
- @peter279k made their first contribution in #57
- @g105b made their first contribution in #134
Full Changelog: v1.0.0...v1.1.0
Stable release
This very basic core library has been in use within WebEngine and untouched for months now. Any enhancements can be tracked in the issue tracker and added to v2.
$GLOBALS replaced in-place
$GLOBALS are passed by reference into the removal function so that the returned array can be used to set the other superglobals while protecting them.
Rather than protecting each global variable in place, the $GLOBALS superglobal is used when setting the whitelists, and when protecting the other variables.
Fully tested
All functions have been unit tested in this release.
Initial release
The initial functionality was scoped out, but when implementing with the real $GLOBALS array, a few changes were necessary.
This release marks the initial scope for the repository. Before v1 is near there needs to be tests for edge cases and more usage with the real $GLOBALS array throughout the WebEngine.