Releases: carlosas/phpat
Releases · carlosas/phpat
v0.10.18
- Add
shouldNotExist()
assertion (thanks @AnnaDamm)
v0.10.17
- Add the ability to define multiple Rules in the same test function (thanks @AnnaDamm)
v0.10.16
- Fix template names getting resolved as FQCNs in throws docs
v0.10.15
- Add
shouldNotBeReadonly()
assertion (thanks @gertjuhh)
- Fix return types when building declaration rules with tips
v0.10.14
- 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
- Fix namespace selector matching similar namespaces (thanks @priyadi)
v0.10.12
- Add
shouldBeInterface()
assertion (thanks @jesperbeisner)
- Add
shouldBeNamed()
assertion
v0.10.11
- 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
- Add
shouldHaveOnlyOnePublicMethod()
assertion (thanks @rgomezcasas)
- Fix return type after target excludes
v0.10.9
- 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()