{
    "name": "nextcloud/privacy",
    "description": "-",
    "type": "project",
    "license": "AGPL",
    "authors": [
        {
            "name": "Georg Ehrke"
        }
    ],
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.9"
    },
    "scripts": {
		"post-install-cmd": [
			"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
		],
        "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
        "cs:check": "php-cs-fixer fix --dry-run --diff",
        "cs:fix": "php-cs-fixer fix",
		"psalm": "psalm --no-cache --threads=$(nproc)",
		"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
		"psalm:update-baseline": "psalm --threads=1 --update-baseline",
        "test:integration": "phpunit -c tests/phpunit.integration.xml"
    },
    "config": {
        "platform": {
            "php": "8.2"
        },
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true
        }
    },
	"extra": {
		"bamarni-bin": {
			"bin-links": true,
			"forward-command": false
		}
	}
}
