Skip to content

0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@theofidry theofidry released this 09 Jun 14:58
21bd501

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)