summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-13 08:17:34 +0200
committerRemi Collet <remi@remirepo.net>2020-04-13 08:17:34 +0200
commitdca074e05cca94b42663a0204e1e58490262db15 (patch)
treec23d4fbcb01b852d1bf80eb1a9e734e8ce3f8dca /composer.json
parent8a3e46fd25277f870dc3b4210a3e81005a75bc0a (diff)
v0.12.1
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index c61d7a7..88fde42 100644
--- a/composer.json
+++ b/composer.json
@@ -33,6 +33,7 @@
},
"require-dev": {
"ext-json": "*",
+ "ext-pdo": "*",
"phpunit/phpunit": "^8.5",
"sebastian/comparator": ">=1.2.3",
"cakephp/cakephp-codesniffer": "^3.0",
@@ -50,6 +51,7 @@
},
"suggest": {
"ext-json": "Install if using JSON configuration format",
+ "ext-pdo": "PDO extension is needed",
"symfony/yaml": "Install if using YAML configuration format"
},
"scripts": {
@@ -57,7 +59,7 @@
"@test",
"@cs-check"
],
- "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/",
+ "cs-check": "phpcs --colors -p -n --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/",
"cs-fix": "phpcbf --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=/tests/Phinx/Config/_rootDirectories/,/tests/log/ src/ tests/ app/",
"stan": "phpstan analyse src/",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.12 && mv composer.backup composer.json",