Skip to content

Releases: carlosas/phpat

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

v0.9.0

01 May 12:42
Compare
Choose a tag to compare
  • Fix broken phar file (thanks @dabrowiecki)
  • Make paths relative to configuration file
  • Remove duplicated phar build step on prerelease published

v0.8.4

25 Feb 21:30
75e0a10
Compare
Choose a tag to compare
  • Update event-dispatcher to allow psr/container v2

v0.8.3

29 Dec 21:45
Compare
Choose a tag to compare
  • Fix class property types not caught as dependencies
  • Support PHP 8.1 features:
    • Enums
    • never type
    • Intersection types

v0.8.2

29 Dec 16:42
Compare
Choose a tag to compare
  • Enforce new style guidelines with php-cs-fixer
  • Add Symfony 6 compatibility