-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
35 lines (35 loc) · 1.04 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
{
"config": {
"platform":{
"php": "8.0"
}
},
"require": {
"ext-dom": "*",
"ext-libxml": "*",
"smalot/pdfparser": "^2.10"
},
"autoload": {
"psr-4": {
"OCA\\Files_Confidential\\": "lib/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"nextcloud/coding-standard": "^1",
"phpunit/phpunit": "^9.5",
"psalm/phar": "^5",
"nextcloud/ocp": "dev-master"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix ./lib --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm.phar",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:update-baseline:force": "psalm.phar --threads=1 --update-baseline --set-baseline=psalm-baseline.xml",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "phpunit --config test/phpunit.xml"
}
}