-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
52 lines (52 loc) · 1.38 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
45
46
47
48
49
50
51
52
{
"name": "tomphp/exception-constructor-tools",
"description": "A simple PHP trait which makes creating static constructors for exceptions nicer.",
"license": "MIT",
"type": "library",
"homepage": "https://github.com/tomphp/exception-constructor-tools",
"keywords": ["exception", "static", "constructor"],
"authors": [
{
"name": "Tom Oram",
"email": "tom@codept.com",
"homepage": "https://github.com/tomphp",
"role": "Developer"
}
],
"require": {
"php": "^5.6|^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.10",
"phpunit/phpunit": "^5.5",
"squizlabs/php_codesniffer": "*"
},
"autoload": {
"psr-4": {
"TomPHP\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"tests\\unit\\TomPHP\\": "tests/unit/",
"tests\\support\\": "tests/support/"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"cs:fix": [
"phpcbf --standard=psr2 src tests; exit 0",
"php-cs-fixer fix --verbose; exit 0"
],
"cs:check": [
"phpcs --standard=psr2 src tests",
"php-cs-fixer fix --dry-run --verbose"
],
"test": [
"@cs:check",
"phpunit --colors=always"
]
}
}