Skip to content

Releases: carlosas/phpat

v0.11.1

29 Dec 20:45
Compare
Choose a tag to compare
  • Add php 8.4 to ci by @carlosas
  • Manually check built-in classes to ignore them by @carlosas

v0.11.0

27 Dec 11:37
Compare
Choose a tag to compare
  • Add support for PHPStan 2.x by @carlosas and @Leprechaunz
  • Drop support for PHPStan 1.x (⚠️ breaks BC) by @carlosas
  • Use namespaced names on shouldBeNamed assertion (⚠️ breaks BC) by @raffaelecarelle
  • Catch all attributes in dependency assertions by @carlosas
  • Sanitize rule names to match PHPStan identifier pattern (⚠️ breaks BC) by @carlosas
  • Remove deprecated selectors (⚠️ breaks BC) by @carlosas
  • Add PHPStan identifiers from rule names by @carlosas

v0.11.0-beta

23 Dec 22:58
3e6bbea
Compare
Choose a tag to compare
v0.11.0-beta Pre-release
Pre-release

v0.10.20

23 Nov 21:57
55154db
Compare
Choose a tag to compare
  • Fix parent interfaces not recognized as extended by @carlosas

v0.10.19

22 Nov 07:32
Compare
Choose a tag to compare
  • Add IsTrait and IsNotTrait selectors by @ghostwriter
  • Add IsException, IsError, and IsThrowable selectors by @ghostwriter

v0.10.18

05 Jul 14:56
Compare
Choose a tag to compare
  • Add shouldNotExist() assertion (thanks @AnnaDamm)

v0.10.17

22 Jun 08:42
ce5818b
Compare
Choose a tag to compare
  • Add the ability to define multiple Rules in the same test function (thanks @AnnaDamm)

v0.10.16

27 Apr 11:21
Compare
Choose a tag to compare
  • Fix template names getting resolved as FQCNs in throws docs

v0.10.15

03 Mar 17:49
Compare
Choose a tag to compare
  • Add shouldNotBeReadonly() assertion (thanks @gertjuhh)
  • Fix return types when building declaration rules with tips

v0.10.14

21 Feb 10:37
Compare
Choose a tag to compare
  • Add shouldInclude() and shouldNotInclude() assertions (thanks @welcoMattic)
  • Detect catch blocks in dependency assertions (thanks @jakobw)
  • Fix shouldBeNamed() assertion not functioning on second run (thanks @gertjuhh)