Commit 6a151a8a authored by shajiaiming's avatar shajiaiming

fix

parent d69a8f8a
...@@ -9,9 +9,45 @@ ...@@ -9,9 +9,45 @@
"name": "Zachary Tong" "name": "Zachary Tong"
} }
], ],
"require": {
"php": "^7.0",
"ext-json": ">=1.3.7",
"psr/log": "~1.0"
},
"require-dev": {
"cpliakas/git-wrapper": "~1.0",
"doctrine/inflector": "^1.1",
"mockery/mockery": "0.9.4",
"phpstan/phpstan-shim": "0.8.3",
"phpunit/phpunit": "6.3.0",
"squizlabs/php_codesniffer": "3.0.2",
"symfony/finder": "^2.8",
"symfony/yaml": "^2.8"
},
"suggest": {
"ext-curl": "*",
"monolog/monolog": "Allows for client-level logging and tracing"
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Elasticsearch\\": "src/Elasticsearch/" "Elasticsearch\\": "src/Elasticsearch/"
} }
},
"autoload-dev": {
"psr-4": {
"Elasticsearch\\Tests\\": "tests/Elasticsearch/Tests/"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"phpcs": [
"phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp src",
"phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp tests"
],
"phpstan": [
"@php vendor/phpstan/phpstan-shim/phpstan.phar analyse -c phpstan.neon tests --level 7 --no-progress"
]
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment