Skip to content

Releases: shipmonk-rnd/phpstan-rules

2.6.0

02 May 06:55
4567a9c
Compare
Choose a tag to compare

New features

2.5.1

21 Apr 11:35
bdae03f
Compare
Choose a tag to compare

Fixes

2.5.0

19 Apr 09:54
f3eb144
Compare
Choose a tag to compare

New features

  • classSuffixNaming: allows you to enforce class name suffix for specific children, e.g. \Exception to have Exception suffix (#102)

2.4.1

17 Apr 19:34
54144bb
Compare
Choose a tag to compare

Fixes

2.4.0

06 Apr 08:26
2967a49
Compare
Choose a tag to compare

New features

Fixes

Improvements

  • CI failures prevention in new PRs (#91, #93)

Dependencies

  • phpstan/phpstan now requires at least 1.10.0 (was 1.9.1, see #84)

2.3.1

15 Feb 08:35
eb03f2b
Compare
Choose a tag to compare

Fixes

  • enforceReadonlyPublicProperty: fix false positive on old PHP versions (#87)

2.3.0

09 Feb 09:28
c99e2b9
Compare
Choose a tag to compare

New features

Fixes

  • forbidCustomFunctions: proper config validation (#83)
  • forbidUnusedException: fix false positive within ternary or yield (#79)
  • forbidUnusedMatch: fix false positive within ternary (#79)
  • uselessPrivatePropertyNullabilityRule: fix false positive with non-typehinted properties (#78)
  • uselessNullableReturn: fix false positive with return; (#82)

Dependencies:

  • phpstan/phpstan now requires at least 1.9.1 (was 1.8.7, see #76)

2.2.0

12 Jan 12:47
44f8a76
Compare
Choose a tag to compare

New features

2.1.1

09 Jan 14:56
0bf243c
Compare
Choose a tag to compare

Fixes:

2.1.0

03 Jan 12:49
0c185ae
Compare
Choose a tag to compare

New features:

Fixes:

Dependencies:

  • phpstan/phpstan now requires at least 1.8.7 (was 1.8.1, see #69)
  • nikic/php-parser now requires at least 4.14.0 (was 4.13.2, see #69)