-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.73 KB
/
composer.json
File metadata and controls
64 lines (64 loc) · 1.73 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
{
"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": ">=8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.85",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6 || ^7.5 || ^11.5",
"rector/rector": "^2.1",
"squizlabs/php_codesniffer": "^3.9"
},
"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"
],
"analyse": [
"phpstan analyse --memory-limit=1G"
],
"rector": [
"rector process src tests --ansi"
],
"rector:dry": [
"rector process src tests --dry-run --ansi"
],
"test": [
"@cs:check",
"@analyse",
"phpunit --colors=always"
]
}
}