Tweaks to composer to support version compatibility check and credit Adrien in the authors list (long overdue)

This commit is contained in:
MarkBaker 2018-10-21 14:56:23 +02:00
parent 2dfd06c598
commit 90bb4df777
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,9 @@
}, },
{ {
"name": "Erik Tilt" "name": "Erik Tilt"
},
{
"name": "Adrien Crivelli"
} }
], ],
"scripts": { "scripts": {
@ -30,6 +33,9 @@
], ],
"fix": [ "fix": [
"php-cs-fixer fix --ansi" "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": { "require": {
@ -56,6 +62,7 @@
"mpdf/mpdf": "^7.0.0", "mpdf/mpdf": "^7.0.0",
"jpgraph/jpgraph": "^4.0", "jpgraph/jpgraph": "^4.0",
"friendsofphp/php-cs-fixer": "@stable", "friendsofphp/php-cs-fixer": "@stable",
"phpcompatibility/php-compatibility": "^8.0",
"squizlabs/php_codesniffer": "^3.3" "squizlabs/php_codesniffer": "^3.3"
}, },
"suggest": { "suggest": {