From a94cca4eee203cbc5851b679d114bbbd79afc1a3 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Tue, 28 Jun 2022 09:52:31 +0200 Subject: [PATCH] composer/plugin/drupal-environment#7 Add PHP quality tools --- composer.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 72387a8..1d5005e 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,12 @@ "source": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/tree/main", "docs": "https://devops-tools.docs.lakedrops.com/composer/plugin/drupal-environment/" }, + "repositories": [ + { + "type": "composer", + "url": "https://packages.drupal.org/8" + } + ], "require": { "php": ">=7.2", "composer-plugin-api": "^1||^2", @@ -41,8 +47,16 @@ "lakedrops/composer-json-utils": "^2.0||dev-main" }, "require-dev": { + "composer/composer": "^1||^2", + "drupal/coder": "^8.3", + "phpunit/phpunit": "^9.5", "roave/security-advisories": "dev-master", - "composer/composer": "^1||^2" + "squizlabs/php_codesniffer": "^3.7" + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "minimum-stability": "dev", "prefer-stable": true, -- GitLab