|
@@ -16,8 +16,7 @@ before_script:
|
|
|
|
|
|
|
|
static_analysis:
|
|
static_analysis:
|
|
|
script:
|
|
script:
|
|
|
- - php --version
|
|
|
|
|
- - php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json # Display code quality in MR
|
|
|
|
|
|
|
+ - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json # Display code quality in MR
|
|
|
artifacts:
|
|
artifacts:
|
|
|
when: always
|
|
when: always
|
|
|
reports:
|
|
reports:
|
|
@@ -25,11 +24,7 @@ static_analysis:
|
|
|
|
|
|
|
|
code_style:
|
|
code_style:
|
|
|
script:
|
|
script:
|
|
|
- - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php --diff -v --format=gitlab --using-cache=no
|
|
|
|
|
- artifacts:
|
|
|
|
|
- when: always
|
|
|
|
|
- reports:
|
|
|
|
|
- codequality: phpstan.json
|
|
|
|
|
|
|
+ - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php
|
|
|
|
|
|
|
|
unit:
|
|
unit:
|
|
|
stage: test
|
|
stage: test
|