{
	"config": {
		"optimize-autoloader": true,
		"classmap-authoritative": true,
		"platform": {
			"php": "8.1"
		},
		"allow-plugins": {
			"bamarni/composer-bin-plugin": true
		}
	},
	"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",
		"post-install-cmd": [
			"@composer bin all install --ansi",
			"composer dump-autoload"
		],
		"psalm": "psalm --no-cache --threads=$(nproc)",
		"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
		"test:unit": "echo 'Only testing installation of the app'"
	},
	"require-dev": {
		"nextcloud/coding-standard": "^1.3.2"
	},
	"require": {
		"bamarni/composer-bin-plugin": "^1.8"
	}
}
