Skip to content

Releases: consistence/coding-standard

3.10.1

17 Apr 15:35
3.10.1
45581b1
Compare
Choose a tag to compare

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

17 Dec 20:52
3.10
13d9678
Compare
Choose a tag to compare

3.9

14 Nov 15:18
3.9
8fc0507
Compare
Choose a tag to compare
3.9

Improvements

  • Check spacing before assignments (#58)

Maintenance

3.8

15 Feb 09:56
3.8
2b13703
Compare
Choose a tag to compare

3.7

20 Dec 09:47
3.7
a070b18
Compare
Choose a tag to compare
3.7

Fixes

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

Maintenance

3.6

18 Dec 12:58
3.6
46325c3
Compare
Choose a tag to compare
3.6
  • Support for PHP 7.3 (#51)

3.5

28 Aug 08:18
3.5
141d4b6
Compare
Choose a tag to compare
3.5
  • 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

20 Jun 08:15
3.4
fb48c3d
Compare
Choose a tag to compare
3.4
  • 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

19 Jun 09:34
3.3.1
8e2c77b
Compare
Choose a tag to compare
  • Exclude errors reporting false positives for multi line nested array access (#44)

3.3

13 Jun 12:32
3.3
8f4e10c
Compare
Choose a tag to compare
3.3
  • 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