From b1072461c3beada5cfcf687fa73686843840b4a6 Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Mon, 5 Feb 2018 13:18:27 +0100 Subject: [PATCH] v0.5.0 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfb1bd4..7e82551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.5.0 +* 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. + ## 0.4.2 * Fix a bug in `FunctionLengthSniff` which only excludes first doc block * `FunctionLengthSniff` also excludes (by default) blank lines and single line comments