summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 64e4f3d835afb3b719df1f765215143b0b31e5c0 (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
{
    "config" : {
        "vendor-dir": "lib/composer",
        "optimize-autoloader": true
    },
    "autoload" : {
			"psr-4": {
			"": "lib/private/legacy",
            "OC\\": "lib/private",
            "OC\\Core\\": "core/",
            "OCP\\": "lib/public"
        }
    },
    "require": {
        "ext-json": "*",
        "ext-pdo": "*"
    },
    "require-dev": {
        "nextcloud/coding-standard": "^0.3.0",
        "psalm/phar": "^3.12"
    },
    "scripts": {
        "cs:fix": "php-cs-fixer fix",
        "cs:check": "php-cs-fixer fix --dry-run --diff",
        "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l"
    }
}