Skip to content

Releases: chindit/phpcs-extra

v0.3.0

Choose a tag to compare

@chindit chindit released this 30 Jan 15:44

Full Changelog: 0.2.0...0.3.0

CHANGES

  • Upgrade to v4.0 of PHPCS

v0.2.0

Choose a tag to compare

@chindit chindit released this 12 Apr 07:19

CHANGELOG:

  • Switch from phpcsstandards to squizlabs for PHPCS (Fix issue #1 )

v0.1.6

Choose a tag to compare

@chindit chindit released this 14 Oct 09:16

Changes

  • Fix invalid nesting in case of callable/anonymous functions

v0.1.5

Choose a tag to compare

@chindit chindit released this 14 Oct 08:44

Full Changelog:

  • Handle try/finally block without catch
  • Handle comments between closing try brace and catch keyword

v0.1.4

Choose a tag to compare

@chindit chindit released this 07 May 13:29
c751e84

CHANGELOG:

  • Use catch line for CS error on new line required between } and catch

v0.1.3

Choose a tag to compare

@chindit chindit released this 07 May 13:13

CHANGELOG

  • Force { to be on a new line after switch, for, foreach, try and catch
  • Force catch to be on a new line after closing } from try
  • Replace squizlabs/php_codesniffer by phpcsstandards/php_codesniffer

v0.1.2

Choose a tag to compare

@chindit chindit released this 24 Jul 11:49
1ccfa2c

Changelist:

  • Avoid crash on «else if» structures

Upgrade to PHP 8+

Choose a tag to compare

@chindit chindit released this 12 Dec 10:06

Allow this package to be used with PHP 8+ and bumped minimal version to PHP 7.3+

Add PSR-2 ControlSpacing

Choose a tag to compare

@chindit chindit released this 20 Oct 10:43

Added PSR-2 ControlSpacing sniff with custom linebreak after parenthesis in case of multiline conditions

New rules

Choose a tag to compare

@chindit chindit released this 14 Oct 09:17

Add new rules:

  • Avoid empty statements
  • Force a space around conditions parenthesis