-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathcomposer.json
More file actions
59 lines (59 loc) · 1.97 KB
/
composer.json
File metadata and controls
59 lines (59 loc) · 1.97 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"require": {
"bacon/bacon-qr-code": "^3.0",
"bamarni/composer-bin-plugin": "^1.8"
},
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-master"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.2"
}
},
"scripts": {
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm": "psalm --no-cache --threads=$(nproc)",
"pre-autoload-dump": [
"mkdir -p lib/Vendor"
],
"post-install-cmd": [
"@composer bin all install --ansi",
"php -d error_reporting=E_ALL\\&~E_DEPRECATED\\&~E_USER_DEPRECATED vendor-bin/php-scoper/vendor/humbug/php-scoper/bin/php-scoper add-prefix --force && > lib/Vendor/.gitkeep",
"composer dump-autoload"
],
"post-update-cmd": [
"@composer bin all update --ansi",
"php -d error_reporting=E_ALL\\&~E_DEPRECATED\\&~E_USER_DEPRECATED vendor-bin/php-scoper/vendor/humbug/php-scoper/bin/php-scoper add-prefix --force && > lib/Vendor/.gitkeep",
"composer dump-autoload"
],
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/php/phpunit.xml",
"test:unit": "vendor/bin/phpunit -c tests/php/phpunit.xml --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
},
"autoload": {
"psr-4": {
"OCA\\TwoFactorGateway\\": "lib/",
"OCA\\TwoFactorGateway\\Tests\\Unit\\": "tests/php/Unit/"
},
"classmap": [
"lib/Vendor/"
]
}
}