Releases: phparkitect/arkitect
0.6.0
What's Changed
- Allow to exclude some namespaces in NotDependsOnTheseNamespaces and DependsOnlyOnTheseNamespaces by @micheleorselli in #501
 
This is a BC Break, you must update any usage of DependsOnlyOnTheseNamespaces and NotDependsOnTheseNamespaces to remove the usage of variadic arg:
before:
new DependsOnlyOnTheseNamespaces('App\Domain', 'App\Infrastructure')
new NotDependsOnTheseNamespaces('App\Domain', 'App\Infrastructure')after:
new DependsOnlyOnTheseNamespaces(['App\Domain', 'App\Infrastructure'])
new NotDependsOnTheseNamespaces(['App\Domain', 'App\Infrastructure'])Full Changelog: 0.5.5...0.6.0
0.5.5
What's Changed
- Fix typos by @szepeviktor in #490
 - Avoid parse anonymous class for isFinal, isAbstract, isReadonly by @AlessandroMinoccheri in #495
 
Full Changelog: 0.5.4...0.5.5
0.5.4
What's Changed
notable changes
- Add relative file path to ClassDescription in #477
 - Violation can now contain a reference to the file path in #478
 - Add GitLab output format support to CLI. by @raffaelecarelle in #474
 - Check: adds an option to specify an autoloader file to be included in #489
 - Print violations to stdout, everything else to stderr in #484
 
refactorings
- Fixes Json output without errors by @raffaelecarelle in #475
 - Removes $stopOnFailure params from Violations class in #476
 - Bump csfixer to version 3.75.0 and tweak configuration in #479
 - README: Add support for 'gitlab' as an output format by @raffaelecarelle in #482
 - Moves catch FailOnFirstViolationException in the Runner class in #483
 - Splits FileVisitor::enterNode in smaller methods in #485
 - Cleanup and make more consistent Check command in #486
 - Create baseline class in #487
 - Use Config class to collect several configurations in #488
 - simplify init by @fain182 in #288
 
Full Changelog: 0.5.3...0.5.4
0.5.3
What's Changed
- Sign phar when releasing it by @micheleorselli in #465
 - Converts CheckClassNamingTest to use TestRunner class by @micheleorselli in #468
 - Specify a custom temporary directory when creating the phar by @micheleorselli in #467
 - Make data provider in tests static by @micheleorselli in #466
 - Remove version from composer.json by @szepeviktor in #462
 - fix README.md by @raffaelecarelle in #469
 - Adds a test case in PatternStringTest by @micheleorselli in #471
 - Support multiple output formats for violation reporting by @raffaelecarelle in #470
 - Moves CheckClassHaveAttributeTest to integration tests by @micheleorselli in #472
 - Documents --format option by @micheleorselli in #473
 
New Contributors
- @raffaelecarelle made their first contribution in #469
 
Full Changelog: 0.5.2...0.5.3
0.5.2
What's Changed
Collect extends also for interfaces #464
Now the extends attribute of ClassDescription is populated also for interfaces. the ClassDescription getExtends now returns an array instead of a string
Allow using phpdoc-parser v1.2 in #463
Support to v1 was removed but since that version could still be used it was re-added
Full Changelog: 0.5.1...0.5.2
0.5.1
Made a boo boo when publishing 0.5.0 and was not showing up on packagist, this should fix it
0.5.0
What's Changed
- Add compatibility with phpstan/phpdoc-parser v2 by @EmilMassey in #442
 - fix: Add consideration of Node\Attribute to FileVisitor by @philipp-yoummday in #444
 - Bug: dependencies leak between files by @simivar in #445
 - Adds appliesTo to verify if a given rule should be applied by @micheleorselli in #454
 - Adds a test to check for a potential bug on enums check by @micheleorselli in #455
 - Fixes implements and extends rules behaviour by @micheleorselli in #456
 - Refactor tests to use ClassDescriptionBuilder instead of new ClassDescription by @micheleorselli in #459
 - Multiple dirs class set by @hgraca in #400
 - Improves parsing of attributes by @micheleorselli in #461
 - Fix pattern match by @hgraca in #404
 
New Contributors
- @EmilMassey made their first contribution in #442
 - @philipp-yoummday made their first contribution in #444
 
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- Removes support for php 7.1 by @micheleorselli in #446
 - Bumps min php version to php 7.4 by @micheleorselli in #448
 - Removes deprecation messages when running tests by switching Prophecy trait by @micheleorselli in #449
 - Removes psalm as dev dependency and use it as a phar by @micheleorselli in #450
 - Adds support to php 8.4 by @micheleorselli in #447
 
Full Changelog: 0.3.33...0.4.0
0.3.33
What's Changed
- Add ability to check for multiple extends by @kapersoft in #432
 
New Contributors
- @kapersoft made their first contribution in #432
 
Full Changelog: 0.3.32...0.3.33
0.3.32
What's Changed
- Fixed "IsAbstract" for interfaces, traits, enums and final classes by @sebastianstucke87 in #425
 - Fixed "IsReadonly" for interfaces, traits and enums by @sebastianstucke87 in #426
 - Add "andShould" (#326) by @sebastianstucke87 in #427
 - Add doc-blocks by @hgraca in #410
 - Add $because to rules builder by @hgraca in #411
 - Prevent duplicate namespaces in ResideInOneOfTheseNamespaces by @marmichalski in #431
 
New Contributors
Full Changelog: 0.3.31...0.3.32