Skip to content

Releases: spaze/coding-standard

Using PHP_CodeSniffer 4.0 error codes

23 Nov 00:15
f6e6055

Choose a tag to compare

  • Replace PSR12.Files.FileHeader.SpacingAfterBlock with all the new modular rules, previously, just some were excluded (#31)

PHP_CodeSniffer 4.0

20 Sep 15:51
a255d7c

Choose a tag to compare

Support and requires PHP_CodeSniffer 4.0 (#29, #30)

Better support for bitwise not operator

27 Jul 14:58
36e7f11

Choose a tag to compare

  • Require recent-ish slevomat/coding-standard (#27)

Checks for missing constant typehints

23 Feb 20:36
8b08807

Choose a tag to compare

Checks for missing constant typehints (#26) docs

Allow tabs in nowdoc and heredoc

07 Aug 16:31
7790582

Choose a tag to compare

  • Allow tabs in nowdoc and heredoc (#25)

Don't set `installed_paths` config

27 Jan 03:18
4d023c2

Choose a tag to compare

  • Bump actions/checkout from 3 to 4 (#23)
  • Don't set installed_paths config in ruleset file (#24)

Report more useless things

09 Jun 17:10

Choose a tag to compare

Report useless:

New comment sniffs

23 Apr 15:34
6df9e91

Choose a tag to compare

No duplicate spaces

06 Apr 17:48
97d1893

Choose a tag to compare

  • Disallow duplicate whitespaces (#18)

Internal changes:

  • Check rules are sorted (#19)
  • Export-ignore files that are not needed (#20)

New rules

25 Mar 19:29
da12beb

Choose a tag to compare

  • Requires slevomat/coding-standard 8.9+
  • Added new rules:
    • Disallow variable variables (#14)
    • Disallow trailing multiline ternary operator (#15)
    • Yoda comparison disallow you must (#16)
  • XML-lint the rules file (#17)