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": {