All notable changes to this project will be documented in this file.
- Added
CanOnlyImplement
andMustOnlyImplement
rule types - Added
CanOnlyInclude
andMustOnlyInclude
rule type - Added
CanOnlyDepend
andMustOnlyDepend
rule types - Added
CanOnlyExtend
rule type - Modified statements now check all the defined relations of a class
- Fixed native PHP classes not correctly found
- 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)
- Added verbosity as a cli command option
- Fixed options being ignored in configuration files
- Added
Selector::haveClassName
to select classes by fully qualified names - Performance boost by building an AST map instead of parsing each time
- Added a changelog 😄
- Changed Minimum PHP version from
7.1
to7.2
. - Changed dependency
symfony/event-dispatcher
tocarlosas/simple-event-dispatcher
.