-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
33 lines (33 loc) · 1.16 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
{
"name": "librecodecoo/spdx-header-updater",
"description": "Easily update license headers in your source code to the SPDX standard with a single command! Simple to install and includes a dry-run option. Ensure your project's compliance! ",
"type": "library",
"license": "AGPL-3.0-or-later",
"require": {
"symfony/console": "^6.4",
"symfony/finder": "^6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"vimeo/psalm": "^5.26"
},
"autoload": {
"psr-4": {
"SpdxConvertor\\": "src/"
}
},
"config": {
"platform": {
"php": "8.1"
},
"sort-packages": true
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=$(nproc)",
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache"
}
}