Skip to content

Function aliases & calls in multiple namespaces, error tips, requires PHP 7.2+

Compare
Choose a tag to compare
@spaze spaze released this 08 Oct 18:39
1cd9884

Note: 2.6.0 release contained a regression bug and was quickly removed. This release contains features originally found in 2.6.0 plus some more.

  • Use namespaces function name when checking disallowed calls, helps when there are two functions with the same name but in different namespaces (#119)
  • When a function is aliased (use function foo as bar), the alias is also added to error messages e.g. Calling foo() (as bar()) (#120)
  • Using errorTip, you can configure a tip that will be displayed with a bulb icon (💡) below the error message (#128)
  • Remove support for PHP 7.1, PHP 7.2 or newer is now required (#122)

Internal:

  • The newest coding standard is required but that doesn't really change anything (#121)
  • If there's no error identifier configured, make it null instead of an empty string (#127)