Skip to content

Releases: spaze/coding-standard

Using PHP_CodeSniffer 4.0 error codes

Choose a tag to compare

@spaze spaze released this 23 Nov 00:15
f6e6055
  • Replace PSR12.Files.FileHeader.SpacingAfterBlock with all the new modular rules, previously, just some were excluded (#31)

PHP_CodeSniffer 4.0

Choose a tag to compare

@spaze spaze released this 20 Sep 15:51
a255d7c

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

Better support for bitwise not operator

Choose a tag to compare

@spaze spaze released this 27 Jul 14:58
36e7f11
  • Require recent-ish slevomat/coding-standard (#27)

Checks for missing constant typehints

Choose a tag to compare

@spaze spaze released this 23 Feb 20:36
8b08807

Checks for missing constant typehints (#26) docs

Allow tabs in nowdoc and heredoc

Choose a tag to compare

@spaze spaze released this 07 Aug 16:31
7790582
  • Allow tabs in nowdoc and heredoc (#25)

Don't set `installed_paths` config

Choose a tag to compare

@spaze spaze released this 27 Jan 03:18
4d023c2
  • Bump actions/checkout from 3 to 4 (#23)
  • Don't set installed_paths config in ruleset file (#24)

Report more useless things

Choose a tag to compare

@spaze spaze released this 09 Jun 17:10

Report useless:

New comment sniffs

Choose a tag to compare

@spaze spaze released this 23 Apr 15:34
6df9e91

No duplicate spaces

Choose a tag to compare

@spaze spaze released this 06 Apr 17:48
97d1893
  • Disallow duplicate whitespaces (#18)

Internal changes:

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

New rules

Choose a tag to compare

@spaze spaze released this 25 Mar 19:29
da12beb
  • 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)