Flatten source structure a bit
This commit is contained in:
parent
c735c27559
commit
369ca6eb04
20
.editorconfig
Normal file
20
.editorconfig
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# EditorConfig is awesome: http://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = false
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{cpp,c,h,hpp,cxx}]
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Yaml files
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
@ -30,7 +30,7 @@
|
|||||||
"pdepend/pdepend": "^2.5",
|
"pdepend/pdepend": "^2.5",
|
||||||
"phploc/phploc": "^4.0",
|
"phploc/phploc": "^4.0",
|
||||||
"phpmd/phpmd": "^2.4",
|
"phpmd/phpmd": "^2.4",
|
||||||
"phpstan/phpstan": "*",
|
"phpstan/phpstan": "^0.9.1",
|
||||||
"phpunit/phpunit": "^5.5",
|
"phpunit/phpunit": "^5.5",
|
||||||
"sebastian/phpcpd": "^2.0",
|
"sebastian/phpcpd": "^2.0",
|
||||||
"simpletest/simpletest": "^1.1",
|
"simpletest/simpletest": "^1.1",
|
||||||
@ -38,14 +38,19 @@
|
|||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Query\\": "src/Query"
|
"Query\\": "src"
|
||||||
},
|
},
|
||||||
"files": ["src/common.php"]
|
"files": ["src/common.php"]
|
||||||
},
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Query\\Tests\\": "tests"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build",
|
"coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build",
|
||||||
"phpstan": "phpstan analyse -l 3 -c phpstan.neon src tests",
|
"phpstan": "phpstan analyse -l 3 -c phpstan.neon src tests",
|
||||||
"test": "vendor/bin/phpunit"
|
"test": "phpunit -c build"
|
||||||
},
|
},
|
||||||
"scripts-descriptions": {
|
"scripts-descriptions": {
|
||||||
"coverage": "Generate test coverage report",
|
"coverage": "Generate test coverage report",
|
||||||
|
Loading…
Reference in New Issue
Block a user