Flatten source structure a bit

This commit is contained in:
Timothy Warren 2018-01-19 15:47:34 -05:00
parent c735c27559
commit 369ca6eb04
28 changed files with 28 additions and 3 deletions

20
.editorconfig Normal file
View 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

View File

@ -30,7 +30,7 @@
"pdepend/pdepend": "^2.5",
"phploc/phploc": "^4.0",
"phpmd/phpmd": "^2.4",
"phpstan/phpstan": "*",
"phpstan/phpstan": "^0.9.1",
"phpunit/phpunit": "^5.5",
"sebastian/phpcpd": "^2.0",
"simpletest/simpletest": "^1.1",
@ -38,14 +38,19 @@
},
"autoload": {
"psr-4": {
"Query\\": "src/Query"
"Query\\": "src"
},
"files": ["src/common.php"]
},
"autoload-dev": {
"psr-4": {
"Query\\Tests\\": "tests"
}
},
"scripts": {
"coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build",
"phpstan": "phpstan analyse -l 3 -c phpstan.neon src tests",
"test": "vendor/bin/phpunit"
"test": "phpunit -c build"
},
"scripts-descriptions": {
"coverage": "Generate test coverage report",