-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcomposer.json
More file actions
41 lines (41 loc) · 1.12 KB
/
composer.json
File metadata and controls
41 lines (41 loc) · 1.12 KB
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
{
"autoload": {
"psr-4": {
"OCA\\FilesAccessControl\\": "lib/"
}
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.2"
},
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload"
],
"post-update-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload"
],
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm --no-cache --threads=$(nproc)",
"psalm:dev": "@psalm",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"rector:check": "rector --dry-run --clear-cache",
"rector:fix": "rector",
"test:unit": "phpunit --color -c tests/phpunit.xml",
"test:integration": "cd tests/Integration && ./run.sh"
},
"require": {
"bamarni/composer-bin-plugin": "^1.9.1"
}
}