Skip to content

Releases: php-fig-rectified/psr2r-sniffer

0.6.1

05 Sep 23:10
Compare
Choose a tag to compare

Bugfixes

  • Fixed newline assertion for beginning of class/trait body.

Improvements

  • Added DocBlockVariableNullHintLast sniff
  • Added DocBlockTypeOrder sniff
  • Added DocBlockVarNotJustNull sniff

The PSR2R standard contains 109 sniffs now.

0.6.0

03 Sep 23:40
Compare
Choose a tag to compare

Improvements

  • Use new v3 code sniffer.
  • DocBlockSniff added.

The PSR2R standard contains 108 sniffs now.

PHP 5.6+ is now the minimum.

0.5.2

02 Sep 19:25
Compare
Choose a tag to compare

Bugfixes

Fix false/true bool annotation.

0.5.1

16 May 23:18
3dcb12c
Compare
Choose a tag to compare

Improvements

PHP 7.2/7.3 compatibility.

0.5.0

30 Nov 18:09
Compare
Choose a tag to compare

Improvements

Uses new 3.0 phpcs sniffer tool.

Also added/fixed:

  • TrailingComma sniff
  • InlineDocBlockSniff now handles inline doc blocks properly
  • UseStatements are now ordered as expected (natural sorting)

0.4.1

14 Mar 23:40
Compare
Choose a tag to compare

Bugfixes

Fixed UnusedUse for PHP7

Add new sniffs

27 Feb 22:42
Compare
Choose a tag to compare

Added

  • InlineDocBlockSniff
  • DocBlockParamNotJustNullSniff

Fix merge mistake

11 Jul 14:37
Compare
Choose a tag to compare

Also added new file name check for classes and interfaces.

New sniffs and some fixes

13 Apr 14:06
Compare
Choose a tag to compare
0.3

Fix join to implode

Second test release

10 Mar 23:54
Compare
Choose a tag to compare

Lots of more sniffers added.