summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: e8d9a044360a126beb02104d79e95ffa07a1e94c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
    "name": "consolidation/output-formatters",
    "description": "Format text by applying transformations provided by plug-in formatters.",
    "license": "MIT",
    "authors": [
        {
            "name": "Greg Anderson",
            "email": "greg.1.anderson@greenknowe.org"
        }
    ],
    "autoload":{
        "psr-4":{
            "Consolidation\\OutputFormatters\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Consolidation\\TestUtils\\": "tests/src"
        }
    },
    "require": {
        "php": ">=5.4.0",
        "dflydev/dot-access-data": "^1.1.0",
        "symfony/console": "^2.8|^3|^4",
        "symfony/finder": "^2.5|^3|^4"
    },
    "require-dev": {
        "g1a/composer-test-scenarios": "^3",
        "php-coveralls/php-coveralls": "^1",
        "phpunit/phpunit": "^5.7.27",
        "squizlabs/php_codesniffer": "^2.7",
        "symfony/var-dumper": "^2.8|^3|^4",
        "victorjonsson/markdowndocs": "^1.3"
    },
    "suggest": {
        "symfony/var-dumper": "For using the var_dump formatter"
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "platform": {
            "php": "5.6.32"
        }
    },
    "scripts": {
        "api": "phpdoc-md generate src > docs/api.md",
        "cs": "phpcs --standard=PSR2 -n src",
        "cbf": "phpcbf --standard=PSR2 -n src",
        "unit": "phpunit --colors=always",
        "lint": [
            "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
            "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
        ],
        "test": [
            "@lint",
            "@unit",
            "@cs"
        ]
    },
    "extra": {
        "scenarios": {
            "symfony4": {
                "require": {
                    "symfony/console": "^4.0"
                },
                "require-dev": {
                    "phpunit/phpunit": "^6"
                },
                "config": {
                    "platform": {
                        "php": "7.1.3"
                    }
                }
            },
            "symfony3": {
                "require": {
                    "symfony/console": "^3.4",
                    "symfony/finder": "^3.4",
                    "symfony/var-dumper": "^3.4"
                },
                "config": {
                    "platform": {
                        "php": "5.6.32"
                    }
                }
            },
            "symfony2": {
                "require": {
                    "symfony/console": "^2.8"
                },
                "require-dev": {
                    "phpunit/phpunit": "^4.8.36"
                },
                "remove": [
                    "php-coveralls/php-coveralls"
                ],
                "config": {
                    "platform": {
                        "php": "5.4.8"
                    }
                },
                "scenario-options": {
                    "create-lockfile": "false"
                }
            }
        },
        "branch-alias": {
            "dev-master": "3.x-dev"
        }
    }
}