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
6 changes: 5 additions & 1 deletion .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ jobs:

- name: Run PHPCodeSniffer
if: always()
run: phpcs -q --report=checkstyle cli src | cs2pr
run: phpcs -q --report=checkstyle cli src | cs2pr

- name: Run PHPArkitect
if: always()
run: vendor/bin/phparkitect check --format=json
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"pdepend/pdepend": "3.x-dev",
"phpbench/phpbench": "^1.4",
"vincentlanglet/twig-cs-fixer": "^3.8",
"bmitch/churn-php": "^1.7"
"bmitch/churn-php": "^1.7",
"phparkitect/phparkitect": "^0.7.0"
},
"extra": {
"hooks": {
Expand All @@ -69,12 +70,13 @@
}
},
"scripts": {
"check-code": ["@phpcs", "@phpstan"],
"check-code": ["@phpcs", "@phpstan", "@phparkitect"],
"phpmd": "vendor/bin/phpmd --ignore-violations-on-exit --ignore-errors-on-exit src text phpmd.xml" ,
"phpstan": "vendor/bin/phpstan --memory-limit=1G",
"phpcs": "vendor/bin/phpcs",
"phpcbf": "vendor/bin/phpcbf",
"churn": "vendor/bin/churn",
"phparkitect": "vendor/bin/phparkitect check",
"twig-lint": "vendor/bin/twig-cs-fixer lint templates",
"twig-lint-fix": "vendor/bin/twig-cs-fixer lint --fix templates"
}
Expand Down
Loading