From 0ca455298c8dfae2c51768bcd562f74b9760450a Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Wed, 29 Nov 2023 11:21:19 +0100 Subject: [PATCH] Add Gitlab parameters --- grumphp.conventions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grumphp.conventions.yml b/grumphp.conventions.yml index 1770c40..6a656b8 100644 --- a/grumphp.conventions.yml +++ b/grumphp.conventions.yml @@ -4,6 +4,8 @@ parameters: convention.git_blacklist.keywords: [ 'die\\(', 'dd\\(', 'dump\\(', 'var_dump\\(', 'exit;' ] convention.git_branch_name.blacklist: [ master, main ] convention.gitlab_lint.api_token: 'MY TOKEN' + convention.gitlab_lint.gitlab_url: 'gitlab.com/api/v4/projects/:id' + convention.gitlab_lint.gitlab_file: '.gitlab-ci.yml' convention.doctrine_schema_check.command: './bin/console doctrine:schema:validate --skip-sync' convention.lint_twig.command: './bin/console lint:twig templates' convention.lint_yaml.command: './bin/console lint:yaml --parse-tags src config tests translations' @@ -39,6 +41,8 @@ grumphp: max_body_width: 72 gitlab_lint: api_token: '%convention.gitlab_lint.api_token%' + gitlab_url: '%convention.gitlab_lint.gitlab_url%' + gitlab_file: '%convention.gitlab_lint.gitlab_file%' lint_twig: scripts: [["-c", '%convention.lint_twig.command%']] triggered_by: [ twig ]