diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2013fef6f391f4e93f0b571706e914ca3160ac6..9f34c760eecdedf94199745a6944277cebb90ff1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,15 +9,8 @@ include: variables: SKIP_ESLINT: '1' +phpcs: + allow_failure: false + phpstan: - stage: validate - rules: - - if: '$SKIP_PHPSTAN == "1"' - when: never - - when: on_success - artifacts: - when: always - reports: - codequality: phpstan-report.json - script: - - vendor/bin/phpstan analyze --memory-limit=2G --no-interaction --no-progress --error-format=gitlab $_WEB_ROOT/modules/custom | tee phpstan-report.json + allow_failure: false diff --git a/composer.json b/composer.json index 46288a323ad213e550007a862803910aec772b3f..e84f663c5fa38860bd7aa4d9a0c4064470c4aeea 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,6 @@ "homepage": "https://www.drupal.org/u/jurgenhaas" } ], - "minimum-stability": "dev", "support": { "issues": "https://www.drupal.org/project/issues/gitlab_api", "source": "https://git.drupal.org/project/gitlab_api" @@ -27,6 +26,7 @@ "nyholm/psr7": "^1.4" }, "require-dev": { - "drupal/webform": "^6.2" + "drupal/webform": "^6.2", + "roave/security-advisories": "dev-latest" } }