Skip to content
Snippets Groups Projects
Commit 5627a064 authored by Ines WALLON's avatar Ines WALLON
Browse files

Issue #3516500 by jonhattan, liber_t: .toolbox/ does not exist in phpmd and phpstan

parent f4ed8828
Branches develop
No related tags found
No related merge requests found
Pipeline #468830 passed
......@@ -7,11 +7,13 @@ variables:
- .cache
- .code_quality_default
before_script:
- mkdir -p .toolbox/
- mkdir -p .toolbox/
- ${COMPOSER_BIN} init --working-dir=.toolbox/ --name=drupal/gitlab-toolbox -n
- ${COMPOSER_BIN} config --working-dir=.toolbox/ --no-plugins allow-plugins.phpstan/extension-installer true
- ${COMPOSER_BIN} require --working-dir=.toolbox/ --no-interaction --ignore-platform-reqs --no-progress mglaman/phpstan-drupal
- test -f phpstan.neon.dist || curl -OL --create-dirs --output-dir .toolbox/ ${TOOLBOX_REF_URL}/templates/code_quality/phpstan/phpstan.neon.dist
script:
- .toolbox/vendor/bin/phpstan
- ${BIN_DIR}/phpstan
analyse
--configuration=.toolbox/phpstan.neon.dist
--memory-limit 2G
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment