Skip to content

Releases: consistence/coding-standard

3.10.1

Choose a tag to compare

@VasekPurchart VasekPurchart released this 17 Apr 15:35
3.10.1
45581b1

Fixes

  • Disable errors with false positives in Squiz.Arrays.ArrayDeclaration (#64)
  • Fix Slevomat Coding Standard dependency to support minor versions (#63, thanks to @krns)

3.10

Choose a tag to compare

@VasekPurchart VasekPurchart released this 17 Dec 20:52
3.10
13d9678

3.9

3.9

Choose a tag to compare

@VasekPurchart VasekPurchart released this 14 Nov 15:18
3.9
8fc0507

Improvements

  • Check spacing before assignments (#58)

Maintenance

3.8

3.8

Choose a tag to compare

@VasekPurchart VasekPurchart released this 15 Feb 09:56
3.8
2b13703

3.7

3.7

Choose a tag to compare

@VasekPurchart VasekPurchart released this 20 Dec 09:47
3.7
a070b18

Fixes

  • Exclude function spacing that has separate code for last line (#53)

Maintenance

3.6

3.6

Choose a tag to compare

@VasekPurchart VasekPurchart released this 18 Dec 12:58
3.6
46325c3
  • Support for PHP 7.3 (#51)

3.5

3.5

Choose a tag to compare

@VasekPurchart VasekPurchart released this 28 Aug 08:18
3.5
141d4b6
  • Additional sniffs for checking current standard (#50)
    • check that @var is not used for constants
    • check that PHPDoc containing only {@inheritDoc} is not used

3.4

3.4

Choose a tag to compare

@VasekPurchart VasekPurchart released this 20 Jun 08:15
3.4
fb48c3d
  • Check PHPDoc and typehints declaration (#45)
    • check for missing property types in PHPDoc @var
    • check for missing typehints in case they can be declared
    • check for missing @return and/or native return typehint in case the method body contains return with a value
    • check for useless doc comments
    • forces to specify what's in traversable types like array, iterable and \Traversable

3.3.1

Choose a tag to compare

@VasekPurchart VasekPurchart released this 19 Jun 09:34
3.3.1
8e2c77b
  • Exclude errors reporting false positives for multi line nested array access (#44)

3.3

3.3

Choose a tag to compare

@VasekPurchart VasekPurchart released this 13 Jun 12:32
3.3
8f4e10c
  • Additional sniffs for checking current standard (#43)
    • check more language construct spacing cases
    • check that PHP types used for type hints, return types, and type casting are lowercase
    • check whitespace inside parenthesis that do not belong to a function call/declaration or control structure