Skip to content

Releases: slevomat/coding-standard

3.1.2

14 Aug 15:51
Compare
Choose a tag to compare

Fixes:

  • LanguageConstructWithParenthesesSniff: T_EXIT should be checked too

3.1.1

10 Aug 20:36
Compare
Choose a tag to compare

Fixes:

  • UnusedPrivateElementsSniff: Fixed infinite loop

3.1.0

10 Aug 19:49
Compare
Choose a tag to compare

New sniffs:

  • LanguageConstructWithParenthesesSniff: Checks and fixes language construct used with parentheses

Fixes:

  • UnusedPrivateElementsSniff: Fixed false positive

3.0.5

01 Aug 22:45
Compare
Choose a tag to compare

Fixes:

  • UnusedPrivateElementsSniff: Fixed false positive

2.4.7

01 Aug 22:44
Compare
Choose a tag to compare

Fixes:

  • UnusedPrivateElementsSniff: Fixed false positive

3.0.4

24 Jul 13:39
Compare
Choose a tag to compare

Fixes:

  • YodaComparisonSniff: Fixed comparisons in arrays
  • YodaComparisonSniff: Fixer should not reformat code

2.4.6

24 Jul 13:49
Compare
Choose a tag to compare

Fixes:

  • YodaComparisonSniff: Fixed comparisons in arrays
  • YodaComparisonSniff: Fixer should not reformat code

3.0.3

03 Jul 20:35
Compare
Choose a tag to compare

Fixes:

  • TypeHintDeclarationSniff: Parameters are not useless when they have description
  • TypeHintDeclarationSniff: Methods with @inheritdoc are ignored

2.4.5

03 Jul 20:34
Compare
Choose a tag to compare

Fixes:

  • TypeHintDeclarationSniff: Parameters are not useless when they have description
  • TypeHintDeclarationSniff: Methods with @inheritdoc are ignored

3.0.2

29 Jun 22:22
Compare
Choose a tag to compare

Fixes:

  • TypeHintDeclarationSniff: Parameters are not useless when they have description
  • TypeNameMatchesFileNameSniff: Improved normalization of "rootNamespaces" settings
  • TypeNameMatchesFileNameSniff: "extensions" settings should be normalized