This repository was archived by the owner on Mar 1, 2023. It is now read-only.
generated from narrowspark/php-library-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
44 lines (44 loc) · 1.95 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
{
"name": "narrowspark/tools",
"description": "tools",
"license": "proprietary",
"require": {
"php": "^7.3",
"narrowspark/coding-standard": "^5.1.0",
"nikic/php-parser": "dev-master",
"wikimedia/composer-merge-plugin": "^2.0.1"
},
"extra": {
"merge-plugin": {
"include": [
"../composer.json"
],
"merge-extra": false,
"merge-scripts": false
},
"prefetcher": {
"require": {
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "^2.16.0"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"changelog": "changelog-generator generate --config=\"./../.changelog\" --file=\"./../CHANGELOG.md\" --prepend",
"cs": "php-cs-fixer fix --config=\"./../.php_cs\" --ansi",
"cs:check": "php-cs-fixer fix --config=\"./../.php_cs\" --ansi --dry-run",
"infection": "infection --configuration=\"./../infection.json\" -j$(nproc) --ansi",
"phpstan": "phpstan analyse -c ./../phpstan.neon --ansi",
"phpstan:baseline": "phpstan analyse -c ./../phpstan.neon --ansi --generate-baseline",
"psalm": "psalm --diff --diff-methods --threads=$(nproc)",
"psalm:fix": "psalm --alter --issues=all --threads=$(nproc)",
"psalm:baseline": "psalm --threads=$(nproc) --set-baseline=./.build/psalm-baseline.xml",
"rector-src": "rector process ./../src/ --config=./rector-src.yaml --ansi --dry-run",
"rector-src:fix": "rector process ./../src/ --config=./rector-src.yaml --ansi",
"rector-tests": "rector process ./../tests/ --config=./rector-tests.yaml --ansi --dry-run",
"rector-tests:fix": "rector process ./../tests/ --config=./rector-tests.yaml --ansi",
"req:check": "composer-require-checker check --config-file=./../composer-require.json ./../composer.json"
}
}