Skip to content

Releases: php-fig-rectified/psr2r-sniffer

2.7.0

27 Nov 22:49

Choose a tag to compare

Improvements

  • Fix up new code-sniffer dependency v0.5 compatibility. Adds 1 sniff, removed 1.

Notable change: Attributes are now handled like classes, so no FQCN inside, but normal use statements.

Full Changelog: 2.6.1...2.7.0

2.6.1

27 Nov 22:45

Choose a tag to compare

Fixes

  • Fixed up TabAndSpaceSniff issues

Full Changelog: 2.6.0...2.6.1

2.6.0

25 Oct 16:00

Choose a tag to compare

Improvements

  • Cleaned up signatures.
  • Added PSR2R.WhiteSpace.ArrayDeclarationSpacing sniff
  • Added Squiz.WhiteSpace.ScopeClosingBrace sniff

Full Changelog: 2.5.0...2.6.0

2.5.0

22 Oct 23:12

Choose a tag to compare

Improvements

  • Added Squiz.ControlStructures.ForLoopDeclaration sniff
  • Improved PSR2R.ControlStructures.ControlStructureSpacing sniff

Full Changelog: 2.4.3...2.5.0

2.4.3

22 Oct 02:17

Choose a tag to compare

Fixes

  • Fixed up UnneededElse sniff

2.4.2

20 Oct 20:36

Choose a tag to compare

Fixes

  • Added missing if/else sniffs.

2.4.1

20 Oct 16:00

Choose a tag to compare

Fixes

  • Fixed bug in UnneededElse.

2.4.0

30 Sep 00:44
410f05d

Choose a tag to compare

Improvements

  • Update sniffs to PHPCS v4

2.3.0

23 Aug 13:30

Choose a tag to compare

Improvements

This improvement ships with 14 new sniffs, many of them making array notation more consistent and reliable.

2.2.1

10 Jun 12:45
0a45310

Choose a tag to compare

Improvements

  • Removed deprecations