-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
40 lines (40 loc) · 1.07 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "guillermoandrae/php-skeleton",
"description": "Skeleton for PHP projects",
"license": "MIT",
"require": {
"php": ">=7.2",
"ext-json": "*",
"icanboogie/inflector": "^1.5"
},
"autoload": {
"psr-4": {
"Guillermoandrae\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "8.*",
"squizlabs/php_codesniffer": "3.*",
"guillermoandrae/php-debug": "^0.2.0"
},
"autoload-dev": {
"psr-4": {
"GuillermoandraeTest\\": "tests/"
}
},
"scripts": {
"check-style": [
"phpcbf --standard=PSR2 --extensions=php src tests",
"phpcs --standard=PSR2 --extensions=php src tests"
],
"test": [
"@check-style",
"phpunit --coverage-text --coverage-clover=./clover.xml"
],
"test-html": [
"@check-style",
"phpunit --coverage-text --coverage-html report",
"php -S localhost:8080 -t report/ > report/phpd.log 2>&1"
]
}
}