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 1
1
# Changelog
2
2
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
+
3
13
## 0.4.2
4
14
* Fix a bug in ` FunctionLengthSniff ` which only excludes first doc block
5
15
* ` FunctionLengthSniff ` also excludes (by default) blank lines and single line comments
You can’t perform that action at this time.
0 commit comments