Add Composer config and PHPCS dependency
This commit is contained in:
19
composer.json
Normal file
19
composer.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "arionum/node",
|
||||
"description": "The Arionum (ARO) cryptocurrency node.",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.2",
|
||||
"ext-bcmath": "*",
|
||||
"ext-gmp": "*",
|
||||
"ext-openssl": "*",
|
||||
"ext-pdo": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"squizlabs/php_codesniffer": "^3.2"
|
||||
},
|
||||
"scripts": {
|
||||
"check-style": "phpcs -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 .",
|
||||
"fix-style": "phpcbf -p -l --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user