Skip to content

Releases: carlosas/phpat

v0.10.8

25 Aug 08:52
367a4c9
Compare
Choose a tag to compare
  • Fix Should- rules ignoring classes with empty findings #232
  • New documentation page automated system https://phpat.dev

v0.10.7

14 Aug 16:10
Compare
Choose a tag to compare
  • Add tips to rule building - thanks @verfriemelt-dot-org
  • Add shouldBeReadonly assertion and readonly selector

v0.10.6

15 Apr 18:37
d232099
Compare
Choose a tag to compare
  • Added parent and direct interfaces as dependencies
  • Fixed Stringable not treated as built-in class
  • Temporarily ignored deprecated PHPStan method

v0.10.5

03 Apr 00:02
Compare
Choose a tag to compare
  • Added Selector::AND() modifier

v0.10.4

02 Apr 22:28
Compare
Choose a tag to compare
  • Added ignore_built_in_classes option to ignore built-in classes on relation assertions
  • Added show_rule_names option to output the rule name before the error message (thanks @nukisashineko)
  • Added class Attributes as dependencies
  • Fixed template names getting resolved as FQCNs

v0.10.3

27 Jan 16:48
fe65569
Compare
Choose a tag to compare
  • Added CanOnlyDepend assertion

v0.10.2

12 Dec 18:34
7f80795
Compare
Choose a tag to compare
  • Added shouldBeAbstract() and shouldNotBeAbstract() assertions.
  • Fixed shouldNotDependOn() assertion ignoring static method calls.

v0.10.1

09 Dec 12:56
c0f5ece
Compare
Choose a tag to compare
  • Added support for assertions over a single class, named Declaration Assertions.
  • Added shouldBeFinal() and shouldNotBeFinal() assertions

v0.10.0

24 Sep 10:53
0d7dd3d
Compare
Choose a tag to compare

Reconversion of the project as a PHPStan extension

Read the upgrade guide for more information.

v0.9.1

10 Jul 15:37
Compare
Choose a tag to compare
  • Read configured tests.path recursively (thanks @maciejkosiarski)
  • Give standalone deprecation notice in README.md