-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
73 lines (73 loc) · 2.24 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "nexusphp/cs-config",
"description": "A factory for custom rulesets for PHP CS Fixer.",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "John Paul E. Balandan, CPA",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/NexusPHP/cs-config/issues",
"source": "https://github.com/NexusPHP/cs-config.git",
"slack": "https://nexusphp.slack.com"
},
"require": {
"php": "^8.1",
"ext-tokenizer": "*",
"friendsofphp/php-cs-fixer": "^3.67"
},
"require-dev": {
"nexusphp/tachycardia": "^2.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5 || ^11.0"
},
"conflict": {
"liaison/cs-config": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Nexus\\CsConfig\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Nexus\\CsConfig\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"cs:check": "php-cs-fixer check --ansi --verbose --diff",
"cs:fix": "php-cs-fixer fix --ansi --verbose --diff",
"phpstan:baseline": "phpstan analyse --ansi --verbose --generate-baseline=phpstan-baseline.php",
"phpstan:check": "phpstan analyse --ansi --verbose",
"test:all": [
"@cs:check",
"@phpstan:check",
"@test:unit"
],
"test:unit": "phpunit --colors=always"
},
"scripts-descriptions": {
"cs:check": "Checks for coding style violations",
"cs:fix": "Fixes any coding style violations",
"phpstan:baseline": "Runs PHPStan and dumps resulting errors to baseline",
"phpstan:check": "Runs PHPStan with identifiers support",
"test:all": "Runs all tests",
"test:unit": "Runs all PHPUnit tests"
}
}