From 90bb4df777fdaab17310333e87e306b9a1fed97d Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Sun, 21 Oct 2018 14:56:23 +0200 Subject: [PATCH] Tweaks to composer to support version compatibility check and credit Adrien in the authors list (long overdue) --- composer.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composer.json b/composer.json index ce228ad6..4907c990 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,9 @@ }, { "name": "Erik Tilt" + }, + { + "name": "Adrien Crivelli" } ], "scripts": { @@ -30,6 +33,9 @@ ], "fix": [ "php-cs-fixer fix --ansi" + ], + "versions": [ + "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 5.6- -n" ] }, "require": { @@ -56,6 +62,7 @@ "mpdf/mpdf": "^7.0.0", "jpgraph/jpgraph": "^4.0", "friendsofphp/php-cs-fixer": "@stable", + "phpcompatibility/php-compatibility": "^8.0", "squizlabs/php_codesniffer": "^3.3" }, "suggest": {