Skip to content

4.1.0

Latest
Compare
Choose a tag to compare
@janedbal janedbal released this 03 Dec 12:31
· 1 commit to master since this release
2f645b7

New features:

  • forbidCustomFunctions now detects even fist class callables, anonymous classes and array/string callables in arguments (#288)
    • e.g. new class extends DeniedParent {}
    • e.g. $this->deniedMethod(...)
    • e.g. array_map([$this, 'deniedMethod'], $a)
    • e.g. array_map('denied_function', $a)