-
Notifications
You must be signed in to change notification settings - Fork 41
/
composer.json
26 lines (26 loc) · 958 Bytes
/
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
{
"name": "nextcloud/files_texteditor",
"type": "project",
"require-dev": {
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^5.13",
"nextcloud/coding-standard": "^1.0"
},
"license": "AGPL",
"authors": [
{
"name": "Julius Härtl",
"email": "jus@bitgrid.net"
}
],
"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=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"
}
}