From c92cebeae337e801c53a8713a9553c49bc33f3b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Wed, 11 Dec 2019 16:26:03 +0100
Subject: [PATCH] Utilise composer-require-checker en CI.

---
 .gitlab-ci.yml | 1 +
 composer.json  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85732ec..7aacdd3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,7 @@ stages:
   script:
     - composer update $COMPOSER_OPTS
     - php -l src/*.php
+    - vendor/bin/composer-require-checker
     - vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no
     - vendor/bin/phpunit
   cache:
diff --git a/composer.json b/composer.json
index 1422741..465cd36 100644
--- a/composer.json
+++ b/composer.json
@@ -17,6 +17,7 @@
     "symfony/cache": "^4.0"
   },
   "require-dev": {
+    "irstea/composer-require-checker-shim": "^2.0.0",
     "mikey179/vfsstream": "^1.6",
     "phpunit/phpunit": "^7.0"
   },
-- 
GitLab