Skip to content

Releases: carlosas/phpat

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()

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