-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
117 lines (117 loc) · 3.93 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "nexusphp/framework",
"description": "The Nexus Framework",
"license": "MIT",
"type": "library",
"keywords": [
"nexus"
],
"authors": [
{
"name": "John Paul E. Balandan, CPA",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/NexusPHP/framework/issues",
"source": "https://github.com/NexusPHP/framework"
},
"require": {
"php": "^8.3",
"phpstan/phpdoc-parser": "^2.0",
"phpstan/phpstan": "^2.0",
"psr/clock": "^1.0"
},
"require-dev": {
"nexusphp/tachycardia": "^2.3",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.2"
},
"replace": {
"nexusphp/clock": "self.version",
"nexusphp/collection": "self.version",
"nexusphp/option": "self.version",
"nexusphp/password": "self.version",
"nexusphp/phpstan-nexus": "self.version",
"nexusphp/result": "self.version",
"nexusphp/suppression": "self.version"
},
"provide": {
"psr/clock-implementation": "1.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Nexus\\": "src/Nexus/"
},
"files": [
"src/Nexus/Option/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Nexus\\Tests\\": "tests/"
},
"exclude-from-classmap": [
"tests/PHPStan/**/data/**"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"src/Nexus/PHPStan/extension.neon"
]
}
},
"scripts": {
"post-update-cmd": [
"@composer update --ansi --working-dir=tools"
],
"cs:check": "tools/vendor/bin/php-cs-fixer check --ansi --verbose --diff",
"cs:fix": "tools/vendor/bin/php-cs-fixer fix --ansi --verbose --diff",
"mutation:check": "tools/vendor/bin/infection --threads=max --ansi",
"mutation:filter": "@mutation:check --git-diff-filter=AM --git-diff-base=origin/1.x",
"phpstan:baseline": "phpstan analyse --ansi --generate-baseline=phpstan-baseline.php",
"phpstan:check": "phpstan analyse --ansi --verbose",
"test:all": [
"@cs:check",
"@phpstan:check",
"@test:unit",
"@test:auto-review",
"@test:stan",
"@test:package",
"@mutation:check"
],
"test:auto-review": "phpunit --group=auto-review --colors=always",
"test:coverage": "@test:unit --coverage-html=build/phpunit/html",
"test:package": "phpunit --group=package-test --colors=always",
"test:stan": "phpunit --group=static-analysis --colors=always",
"test:unit": "phpunit --group=unit-test --colors=always"
},
"scripts-descriptions": {
"cs:check": "Checks for coding style violations",
"cs:fix": "Fixes any coding style violations",
"mutation:check": "Runs Infection on whole codebase",
"mutation:filter": "Runs Infection on added and modified files only",
"phpstan:baseline": "Runs PHPStan and dumps resulting errors to baseline",
"phpstan:check": "Runs PHPStan with identifiers support",
"test:all": "Runs all PHPUnit tests",
"test:auto-review": "Runs the Auto-Review Tests",
"test:coverage": "Runs Unit Tests with code coverage",
"test:package": "Runs the Package Tests",
"test:stan": "Runs the Static Analysis Tests",
"test:unit": "Runs the Unit Tests"
}
}