Releases: phparkitect/arkitect
0.7.0
What's Changed
- Symfony 8 support by @fain182 in #537
- Adds support to php 8.5 by @fain182 in #541
- Create a IsA expression by @hgraca in #396
- Splits FileVisitorTest in multiple files by @micheleorselli in #502
- Use custom resolver for extracting type information from docblocks by @micheleorselli in #504
- Collect types declared in @throws tags and consider them dependencies (1/2) by @micheleorselli in #507
- split FileVisitor::handleClassNode into handleClassNode and handleAnonClassNode by @micheleorselli in #511
- Ignore union types in dockblock definitions by @micheleorselli in #510
- FileVisitor improvements by @micheleorselli in #512
- fix dockblock parsing which considers phpstan tags a classes by @micheleorselli in #517
- Add Dependabot configuration for automated dependency updates by @fain182 in #518
- ci(deps): bump codecov/codecov-action from 1 to 5 by @dependabot[bot] in #523
- ci(deps): bump actions/checkout from 3 to 4 by @dependabot[bot] in #521
- ci(deps): bump docker/login-action from 1 to 3 by @dependabot[bot] in #522
- ci(deps): bump crazy-max/ghaction-docker-meta from 2 to 5 by @dependabot[bot] in #520
- ci(deps): bump test-room-7/action-update-file from 1 to 2 by @dependabot[bot] in #524
- refactor: reduce duplication in FileParser test cases by @fain182 in #525
- ci(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #526
- deps: add versioning-strategy increase for composer by @fain182 in #530
- deps(deps-dev): update phpspec/prophecy-phpunit requirement from ^2.3 to ^2.4 by @dependabot[bot] in #532
- deps(deps): update ondram/ci-detector requirement from ^4.1 to ^4.2 by @dependabot[bot] in #533
- deps(deps-dev): update friendsofphp/php-cs-fixer requirement from ^3.75 to ^3.90 by @dependabot[bot] in #535
- deps(deps): update symfony/polyfill-php80 requirement from ^1.20 to ^1.33 by @dependabot[bot] in #540
New Contributors
- @dependabot[bot] made their first contribution in #523
Full Changelog: 0.6.0...0.7.0
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