2.5.0
New checks:
TypeHintDeclarationSniff: Checks if closures usevoidtype hint.
New settings:
ReferenceUsedNamesOnlySniff:allowFullyQualifiedGlobalFunctions- allows using fully qualified functions from global space (i.e.\phpversion())ReferenceUsedNamesOnlySniff:allowFullyQualifiedGlobalConstants- allows using fully qualified constants from global space (i.e.\PHP_VERSION)
Fixes:
UseStatement: Constant name are not case insensitiveReferencedNameHelper: Type hints of variadic parameters and parameters passed by reference wasn't recognizedTypeHintDeclarationSniff: Methods with{@ignoredoc}format wasn't ignoredTypeHintDeclarationSniff:{@ignoredoc}is case insensitive nowYodaComparisonSniff: Fixed bugs with logicaland,orandxorUnusedPrivateElementsSniff: Fixed false positive