Skip to content

Releases: carlosas/phpat

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)

v0.10.13

04 Jan 17:20
4954eeb
Compare
Choose a tag to compare
  • Fix namespace selector matching similar namespaces (thanks @priyadi)

v0.10.12

23 Dec 23:41
Compare
Choose a tag to compare
  • Add shouldBeInterface() assertion (thanks @jesperbeisner)
  • Add shouldBeNamed() assertion

v0.10.11

24 Nov 18:17
03a1c70
Compare
Choose a tag to compare
  • Add #[TestRule] attribute to mark test's methods as rules (thanks @calebdw)
  • Add shouldApplyAttribute() assertion (thanks @gertjuhh)
  • Deprecate hasAttribute() selector in favor of appliesAttribute()
  • Allow extending test files

v0.10.10

05 Oct 14:18
80004c0
Compare
Choose a tag to compare
  • Add shouldHaveOnlyOnePublicMethod() assertion (thanks @rgomezcasas)
  • Fix return type after target excludes

v0.10.9

27 Sep 20:25
8732c57
Compare
Choose a tag to compare
  • Add hasAttribute() selector
  • Deprecate namespace() selector in favor of inNamespace()
  • Deprecate interface() selector in favor of isInterface()
  • Deprecate abstract() selector in favor of isAbstract()
  • Deprecate final() selector in favor of isFinal()
  • Deprecate readonly() selector in favor of isReadonly()
  • Deprecate enum() selector in favor of isEnum()
  • Deprecate attribute() selector in favor of isAttribute()