Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: |
bin/phpstan analyse src/ --level=max -c phpstan.neon
bin/rector process --dry-run
bin/structarmed analyze
- name: "Run test suite"
run: "mkdir -p build/logs && bin/kahlan --coverage=4 --reporter=verbose --clover=build/logs/clover.xml"
- name: Upload coverage to Codecov
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"laminas/laminas-mvc": "<3.0"
},
"require-dev": {
"boundwize/structarmed": "^0.0.3",
"kahlan/kahlan": "^6.0",
"laminas/laminas-coding-standard": "^3.0",
"laminas/laminas-mvc": "^3.8",
Expand Down
2 changes: 2 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

<!-- Paths to check -->
<file>src</file>
<file>rector.php</file>
<file>structarmed.php</file>
</ruleset>
1 change: 0 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
__DIR__ . '/config',
__DIR__ . '/src',
__DIR__ . '/spec',
__DIR__ . '/rector.php'
])
->withRootFiles()
->withSkip([
Expand Down
9 changes: 9 additions & 0 deletions structarmed.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

use Boundwize\StructArmed\Architecture;
use Boundwize\StructArmed\Preset\Preset;

return Architecture::define()
->withPreset(Preset::PSR4(sourcePaths: ['src', 'spec']));
Loading