|
1 | 1 | { |
2 | 2 | "name": "nextcloud/photos", |
3 | 3 | "config": { |
4 | | - "optimize-autoloader": true, |
| 4 | + "autoloader-suffix": "Photos", |
5 | 5 | "classmap-authoritative": true, |
| 6 | + "optimize-autoloader": true, |
| 7 | + "sort-packages": true, |
| 8 | + "allow-plugins": { |
| 9 | + "bamarni/composer-bin-plugin": true |
| 10 | + }, |
6 | 11 | "platform": { |
7 | 12 | "php": "8.0" |
8 | 13 | } |
9 | 14 | }, |
| 15 | + "autoload": { |
| 16 | + "psr-4": { |
| 17 | + "OCA\\Photos\\": "./lib/" |
| 18 | + } |
| 19 | + }, |
10 | 20 | "scripts": { |
11 | 21 | "cs:fix": "php-cs-fixer fix", |
12 | 22 | "cs:check": "php-cs-fixer fix --dry-run --diff", |
13 | | - "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", |
14 | | - "psalm": "psalm", |
15 | | - "psalm:update-baseline": "psalm --update-baseline", |
| 23 | + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './composer/*' -print0 | xargs -0 -n1 php -l", |
| 24 | + "psalm": "psalm --threads=1", |
| 25 | + "psalm:update-baseline": "psalm --threads=1 --update-baseline", |
| 26 | + "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache", |
| 27 | + "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType", |
16 | 28 | "test:unit": "echo 'Only testing installation of the app'" |
17 | 29 | }, |
18 | 30 | "require-dev": { |
| 31 | + "bamarni/composer-bin-plugin": "^1.8", |
19 | 32 | "nextcloud/coding-standard": "1.0", |
| 33 | + "nextcloud/ocp": "dev-master", |
20 | 34 | "phpunit/phpunit": "^9", |
21 | | - "vimeo/psalm": "^4.22", |
22 | 35 | "sabre/dav": "^4.2.1", |
23 | | - "nextcloud/ocp": "dev-master" |
| 36 | + "vimeo/psalm": "^4.22" |
24 | 37 | }, |
25 | 38 | "require": { |
26 | 39 | "hexogen/kdtree": "^0.2.5" |
|
0 commit comments