Skip to content

allowInInstanceOf and allow* support for all items

Latest
Compare
Choose a tag to compare
@spaze spaze released this 23 Feb 18:41
· 2 commits to main since this release
d146959

What's Changed

  • You can now allow some items in instanceofs (allowInInstanceOf, allowExceptInInstanceOf, allowInUse directives, docs) (#306)
  • Full allow* support for all items (previously constants, superglobals and control structures didn't support for example allowInMethods etc.) (#310)
  • The extension can now be tested with PHPUnit 12.x (#309)

If this extension helps you write better code you can sponsor a release or buy me a 🍻 or a 🍰, thanks!