{
	"name": "nextcloud/photos",
	"config": {
		"autoloader-suffix": "Photos",
		"classmap-authoritative": true,
		"optimize-autoloader": true,
		"sort-packages": true,
		"allow-plugins": {
			"bamarni/composer-bin-plugin": true
		},
		"platform": {
			"php": "8.1.17"
		}
	},
	"autoload": {
		"psr-4": {
			"OCA\\Photos\\": "./lib/"
		}
	},
	"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:clear": "psalm --clear-cache && psalm --clear-global-cache",
		"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
		"test:unit": "phpunit -c tests/phpunit.xml --color --fail-on-warning --fail-on-risky",
		"rector": "rector && composer cs:fix",
		"post-install-cmd": [
			"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
		],
		"post-update-cmd": [
			"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
		]
	},
	"require-dev": {
		"bamarni/composer-bin-plugin": "^1.8",
		"nextcloud/ocp": "dev-stable32"
	},
	"require": {
		"hexogen/kdtree": "^0.2.5"
	},
	"extra": {
		"bamarni-bin": {
			"bin-links": true,
			"forward-command": true
		}
	}
}
