summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 51a83d8faa28a9f659e5668d77fc4b1fa0f2e84c (plain)
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
{
	"name": "nextcloud/photos",
	"config": {
		"optimize-autoloader": true,
		"classmap-authoritative": true,
		"platform": {
			"php": "7.4"
		}
	},
	"scripts": {
		"cs:fix": "php-cs-fixer fix",
		"cs:check": "php-cs-fixer fix --dry-run --diff",
		"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
		"psalm": "psalm --threads=1",
		"psalm:update-baseline": "psalm --threads=1 --update-baseline",
		"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
		"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
		"test:unit": "echo 'Only testing installation of the app'"
	},
	"require-dev": {
		"nextcloud/coding-standard": "1.0",
		"phpunit/phpunit": "^9",
		"vimeo/psalm": "^4.22",
		"sabre/dav": "^4.2.1",
		"nextcloud/ocp": "dev-stable25"
	}
}