-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
58 lines (58 loc) · 2 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
53
54
55
56
57
58
{
"name": "alcidesrc/severe",
"description": "Even more severe with strict types in PHP",
"type": "library",
"keywords": ["php", "strict types", "clean code", "best practices"],
"license": "MIT",
"authors": [
{
"name": "Alcides Ramos",
"email": "[email protected]",
"homepage": "https://alcidesrc.com/"
}
],
"support": {
"issues": "https://github.com/alcidesrc/severe/issues",
"source": "https://github.com/alcidesrc/severe"
},
"require": {
"php": "^8.3",
"swaggest/json-schema": "^0.12.42"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^11.0",
"slope-it/clock-mock": "^0.4.0",
"squizlabs/php_codesniffer": "^3.9",
"symfony/var-dumper": "^7.0"
},
"autoload": {
"psr-4": {
"Severe\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Severe\\Tests\\Unit\\": "tests/Unit",
"Severe\\Tests\\Stub\\": "tests/Stub"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"check-syntax": "parallel-lint --colors -e php -j 10 src/ tests/",
"check-style": "phpcs -p --colors --standard=phpcs.xml src/ tests/",
"fix-style": "phpcbf -p --colors --standard=phpcs.xml src/ tests/",
"phpstan": "phpstan analyse --ansi --memory-limit=1G --configuration=phpstan.neon",
"phpmd": "phpmd src/,tests/ ansi cleancode,codesize,controversial,design,naming,unusedcode",
"tests": "phpunit --configuration phpunit.xml --coverage-text --colors --testdox --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")"
},
"minimum-stability": "stable",
"prefer-stable": true
}