Skip to content

Commit b107246

Browse files
committed
v0.5.0
1 parent f705b78 commit b107246

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
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

0 commit comments

Comments
 (0)