-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
46 lines (46 loc) · 1.34 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
{
"name": "tr33m4n/utilities",
"description": "A basic utility collection",
"license": "MIT",
"authors": [
{
"name": "Daniel Doyle",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"files": [
"helpers/config.php"
],
"psr-4": {
"tr33m4n\\Utilities\\": "src/",
"tr33m4n\\Utilities\\Tests\\": "tests/"
}
},
"require": {
"php": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpstan/phpstan": "^0.12.11",
"squizlabs/php_codesniffer": "^3.6",
"rector/rector": "^0.11.43",
"friendsofphp/php-cs-fixer": "^3.0"
},
"scripts": {
"fix": "vendor/bin/rector process && vendor/bin/php-cs-fixer fix --diff",
"test:lint": "vendor/bin/rector process --dry-run && vendor/bin/php-cs-fixer fix --dry-run --diff",
"test:static": "vendor/bin/phpstan analyse --no-interaction --no-progress && vendor/bin/phpcs --standard=PSR12 ./src",
"test:unit": "vendor/bin/phpunit --bootstrap vendor/autoload.php tests",
"test": [
"@test:lint",
"@test:static",
"@test:unit"
]
}
}