File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.5.0
4+ * Disabled ` NeutronStandard.Functions.TypeHint ` and replaced with custom sniffs
5+ * Added ` ArgumentTypeDeclarationSniff ` to replace ` NeutronStandard.Functions.TypeHint ` sniff for
6+ missing argument types.
7+ It does not check closures used as hook callbacks (because WP cannot be trusted on types).
8+ * Added ` ReturnTypeDeclarationSniff ` to replace ` NeutronStandard.Functions.TypeHint ` sniff for
9+ missing or wrong return type.
10+ * Added ` HookClosureReturnSniff ` to sniff closures added to filters and missing return values and
11+ closures added to action and having return values.
12+
313## 0.4.2
414* Fix a bug in ` FunctionLengthSniff ` which only excludes first doc block
515* ` FunctionLengthSniff ` also excludes (by default) blank lines and single line comments
You can’t perform that action at this time.
0 commit comments