-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
44 lines (44 loc) · 1.19 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
41
42
43
44
{
"name": "blacknell/restapi-service",
"description": "Simple class to expose a REST api",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Paul Blacknell",
"homepage": "https://github.com/blacknell",
"role": "Developer"
}
],
"require": {
"monolog/monolog": "^2.0",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.5 || ^6.5 || ^7.5 || ^9.5.1",
"friendsofphp/php-cs-fixer": "^2.0",
"phpmd/phpmd": "^2.7.0",
"squizlabs/php_codesniffer": "^3.3"
},
"autoload": {
"psr-4": {
"Blacknell\\RestApiService\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Blacknell\\RestApiService\\": "src/"
}
},
"scripts": {
"check": [
"php -v",
"php-cs-fixer fix src --ansi --dry-run --diff --rules=-single_blank_line_at_eof",
"phpcs --report-width=200 src/ --ignore=samples/Header.php --standard=PSR1 -n",
"phpunit --color=always --bootstrap tests/bootstrap.php --configuration tests/build.xml tests"
],
"versions": [
"phpcs --report-width=200 src/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.1- -n"
]
}
}