Skip to content

Disallow create_function and support PHPStan 1.12.6, getting ready for 2.0

Compare
Choose a tag to compare
@spaze spaze released this 11 Oct 01:45
· 27 commits to main since this release
ad538e6
  • Add create_function as a disallowed function call (#261, thanks @BackEndTea)
  • Process ClassConstFetch where $class is Name only for enums to correctly support PHPStan 1.12.6 (#266)

Internal changes:

  • Add phpstan/phpstan-deprecation-rules in expectation of PHPStan 2.0 (#263)
  • Fix test class name (#260, spotted by @szepeviktor, thanks)