Skip to content

Releases: carlosas/phpat

0.5.8

30 Jan 01:07
Compare
Choose a tag to compare
0.5.8 Pre-release
Pre-release

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

19 Jan 15:21
Compare
Choose a tag to compare
0.5.7 Pre-release
Pre-release

Added support for * on include and exclude options
Fixed ignored include option when using other than PathSelector
Modified command now looks for default phpat.yaml or phpat.yml files (thanks @rvanlaak)
Modified success report character from · to .

0.5.6

08 Jan 13:49
acaf9a2
Compare
Choose a tag to compare
0.5.6 Pre-release
Pre-release

Fix false exception message shown on violated rules report

0.5.4

08 Jan 13:00
970a90c
Compare
Choose a tag to compare
0.5.4 Pre-release
Pre-release

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

30 Dec 23:37
Compare
Choose a tag to compare
0.5.3 Pre-release
Pre-release

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

28 Dec 15:17
Compare
Choose a tag to compare
0.5.2 Pre-release
Pre-release

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

22 Dec 15:08
6d62a26
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

Refactor to build an AST map and parse only once
Add selector based on fully qualified class names

0.5.0

06 Dec 00:04
a1afab5
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Changed Minimum PHP version from 7.1 to 7.2.
Changed event dispatcher to carlosas/simple-event-dispatcher.

0.4.4

30 Nov 15:34
Compare
Choose a tag to compare
0.4.4 Pre-release
Pre-release

Report invalid test return type in suite execution (thanks @j6s)
Fix error in exclusion configuration

0.4.3

28 Nov 23:31
8229244
Compare
Choose a tag to compare
0.4.3 Pre-release
Pre-release

Add dry-run option (thanks @irozgar)
Make event dispatcher BC all versions
Update compatibility with Symfony 5.0