Skip to content
Snippets Groups Projects
Unverified Commit 4a33c50f authored by Yassine Doghri's avatar Yassine Doghri
Browse files

ci: add phpstan static analysis to .gitlabci.yml

parent b735b369
Branches
Tags
No related merge requests found
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"extends": [ "extends": [
"eslint:recommended", "eslint:recommended",
"plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended" "plugin:prettier/recommended"
], ],
"parserOptions": { "parserOptions": {
......
...@@ -44,13 +44,18 @@ before_script: ...@@ -44,13 +44,18 @@ before_script:
tests: tests:
stage: quality stage: quality
script: script:
- vendor/bin/phpunit - composer test
analysis:
stage: quality
script:
# run phpstan
- composer analyse
code-review: code-review:
stage: quality stage: quality
script: script:
# run rector - composer rector
- vendor/bin/rector process --dry-run
bundle_app: bundle_app:
stage: bundle stage: bundle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment