Select Git revision
-
Grzegorz Rola authoredGrzegorz Rola authored
lint.yml 690 B
lint:
image: gitlab.wpdesk.dev:5050/wpdesk/docker-tests/php-box:${PHP_IMAGE}
needs:
- prepare prefixed vendor
stage: tests
before_script:
- !reference [.composer-auth, script]
- composer install --no-dev
- rm auth.json
- phive install -g https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/download/v1.4.0/parallel-lint.phar --force-accept-unsigned
script:
- parallel-lint . --gitlab > lint-codequality.json || true
- parallel-lint . --no-progress
parallel:
matrix:
- PHP_IMAGE: ["8.3.2", "7.4.1"]
artifacts:
paths:
- lint-codequality.json
expire_in: 1 week
reports:
codequality: lint-codequality.json