summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 88a24f8b1cc1318e15f9248b60e663618dfaf485 (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
28
29
30
31
32
33
34
35
36
{
    "name": "pdepend/pdepend",
    "description": "Official version of pdepend to be handled with Composer",
    "license": "BSD-3-Clause",
    "type": "library",
    "require": {
        "php": ">=5.3.7",
        "symfony/dependency-injection": "^2.3.0|^3|^4|^5",
        "symfony/filesystem": "^2.3.0|^3|^4|^5",
        "symfony/config": "^2.3.0|^3|^4|^5"
    },
    "require-dev": {
        "phpunit/phpunit": "^4.8.36|^5.7.27",
        "squizlabs/php_codesniffer": "^2.0.0",
        "gregwar/rst": "^1.0",
        "easy-doc/easy-doc": "0.0.0|^1.2.3"
    },
    "bin": ["src/bin/pdepend"],
    "autoload": {
        "psr-4": {"PDepend\\": "src/main/php/PDepend"}
    },
    "scripts": {
        "test": "phpunit",
        "cs-check": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/main/php ./src/test/php",
        "cs-fix": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/main/php ./src/test/php",
        "build-website": [
            "php src/site/release-news-generator.php",
            "easy-doc build src/site/config.php --verbose"
        ]
    },
    "extra": {
        "branch-alias": {
            "dev-master": "2.x-dev"
        }
    }
}