summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: e2ff8ca64325349fe5f9fab7fbc528d7ca0c3243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
	"autoload-dev": {
		"psr-4": {
			"OCP\\": "vendor/christophwurst/nextcloud/OCP",
			"OCA\\Talk\\": "lib/"
		}
	},
	"scripts": {
		"cs:check": "php-cs-fixer fix --dry-run --diff",
		"cs:fix": "php-cs-fixer fix",
		"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
		"psalm": "psalm --threads=1",
		"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
		"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
		"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
	},
	"require-dev": {
		"nextcloud/coding-standard": "^0.4.0",
		"vimeo/psalm": "^4.3.2",
		"christophwurst/nextcloud": "dev-master@dev"
	}
}