Skip to content

Commit 029f13d

Browse files
committed
Added code analysis tasks
1 parent 6d3c1d0 commit 029f13d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Taskfile.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ tasks:
9797
vars:
9898
TASK_ARGS: run --rm prettier '**/*.{yml,yaml}' --check
9999

100+
code-analysis:php:
101+
- task: code-analysis:php:mago
102+
- task: code-analysis:php:phpstan
103+
104+
code-analysis:php:mago:
105+
- task: mago:analyze
106+
107+
code-analysis:php:phpstan:
108+
- task: compose
109+
vars:
110+
TASK_ARGS: run --rm phpfpm vendor/bin/phpstan
111+
100112
# https://mago.carthage.software/latest/en/guide/getting-started/
101113
mago:run:
102114
desc: 'Run all Mago steps (cf. https://mago.carthage.software/latest/en/guide/getting-started/)'

0 commit comments

Comments
 (0)