Skip to content

Releases: php-collective/code-sniffer

0.3.1

22 Aug 13:13
dfc0ea7
Compare
Choose a tag to compare

Improvements

  • Improved PhpCollective/Sniffs/Commenting/DocBlockParamSniff to handle params better. Only require them once they are needed (missing type on a param or a random param defined already that cannot be removed).

0.3.0

19 Aug 17:46
6f66992
Compare
Choose a tag to compare

What's Changed

  • Add more useful sniffs:
    • NormalizedArrays.Arrays.ArrayBraceSpacing
    • Modernize.FunctionCalls.Dirname
    • Generic.Arrays.ArrayIndent
    • Universal.Constants.LowercaseClassResolutionKeyword
    • Universal.Constants.UppercaseMagicConstants
    • Universal.Operators.ConcatPosition
    • Universal.UseStatements.NoUselessAliases
    • Universal.WhiteSpace.PrecisionAlignment
  • ArrayDeclarationSniff has now the ability to format nested arrays, use none/assoc/all (default assoc).

This package now also includes phpcsstandards/phpcsextra dependency for even better sniff experience.

Full Changelog: 0.2.21...0.3.0

0.2.21

09 Aug 01:09
b063e6b
Compare
Choose a tag to compare

Fixes

  • Fix false positive in DocBlockVarSniff for class aliases.

0.2.20

06 Aug 13:39
c79a21b
Compare
Choose a tag to compare

Fixes

  • Fix false positives.

Full Changelog: 0.2.19...0.2.20

0.2.19

29 Jul 12:01
41b1479
Compare
Choose a tag to compare

Fixes

  • Fix DocBlockVarSniff false positives
  • Don't require docblocks for fully typed methods

0.2.18

11 Jul 13:07
5c2816b
Compare
Choose a tag to compare

Fixes

  • Don't require docblock annotations for typed properties/variables.

0.2.17

29 Jun 12:04
94afcf8
Compare
Choose a tag to compare

Fixes

  • Fixed comma spacing sniff

0.2.16

08 Jun 22:20
0e35d92
Compare
Choose a tag to compare

Fixes

  • Fixed up compatibility with latest SlevomatCodingStandard release

0.2.15

14 May 15:47
fcd5c21
Compare
Choose a tag to compare

Fixes

  • Removed more deprecation usage.

0.2.14

29 Mar 14:58
b31318f
Compare
Choose a tag to compare

Fixes

  • Fixed up deprecation