Skip to content

v0.5.0

Compare
Choose a tag to compare
@gmazzap gmazzap released this 05 Feb 13:45
· 370 commits to version/2 since this release
  • Disabled NeutronStandard.Functions.TypeHint and replaced with custom sniffs
  • Added ArgumentTypeDeclarationSniff to replace NeutronStandard.Functions.TypeHint sniff for
    missing argument types.
    It does not check closures used as hook callbacks (because WP cannot be trusted on types).
  • Added ReturnTypeDeclarationSniff to replace NeutronStandard.Functions.TypeHint sniff for
    missing or wrong return type.
  • Added HookClosureReturnSniff to sniff closures added to filters and missing return values and
    closures added to action and having return values.