Releases: carlosas/phpat
0.5.8
Add warnings when selectors do not find any class
Use NameResolver instead of ClassMatcher
Fix group use declarations
Fix some functions and primitive types resolved as classes
Ignore dependencies without namespace (predefined PHP classes)
0.5.7
0.5.6
0.5.4
Beautify error handler (thanks @j6s)
Apply dry-run to internal errors
Update executable to match php version requirement (thanks @tigitz)
Normalize composer.json (thanks @localheinz)
Phar compiler and GitHub workflow (thanks @p810)
Fix include option
0.5.3
Added CanOnlyImplement
and MustOnlyImplement
rule types
Added CanOnlyInclude
and MustOnlyInclude
rule type
Added CanOnlyDepend
and MustOnlyDepend
rule types
Added CanOnlyExtend
rule type
Modified statements now check all the defined relations of a class
Fixed native PHP classes not correctly found
0.5.2
Added Selector::implementInterface
to select classes that implement a certain interface
Added Selector::extendClass
to select classes that extend a certain class
Added Selector::includeTrait
to select classes that include a certain trait
Added some PHP configurations (error_reporting, display_errors, gc_disable) (thanks @staabm)
Added verbosity as a cli command option
Fixed options being ignored in configuration files
0.5.1
0.5.0
Changed Minimum PHP version from 7.1
to 7.2
.
Changed event dispatcher to carlosas/simple-event-dispatcher.