summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 5870ef66f1e9cda9c1197534b1d4ec3ed44d8e19 (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
{
    "name": "mockery/mockery",
    "description": "Mockery is a simple yet flexible PHP mock object framework",
    "license": "BSD-3-Clause",
    "type": "library",
    "keywords": [
        "bdd",
        "library",
        "mock",
        "mock objects",
        "mockery",
        "stub",
        "tdd",
        "test",
        "test double",
        "testing"
    ],
    "authors": [
        {
            "name": "Pádraic Brady",
            "email": "padraic.brady@gmail.com",
            "homepage": "https://github.com/padraic",
            "role": "Author"
        },
        {
            "name": "Dave Marshall",
            "email": "dave.marshall@atstsolutions.co.uk",
            "homepage": "https://davedevelopment.co.uk",
            "role": "Developer"
        },
        {
            "name": "Nathanael Esayeas",
            "email": "nathanael.esayeas@protonmail.com",
            "homepage": "https://github.com/ghostwriter",
            "role": "Lead Developer"
        }
    ],
    "homepage": "https://github.com/mockery/mockery",
    "support": {
        "issues": "https://github.com/mockery/mockery/issues",
        "source": "https://github.com/mockery/mockery",
        "docs": "https://docs.mockery.io/",
        "rss": "https://github.com/mockery/mockery/releases.atom",
        "security": "https://github.com/mockery/mockery/security/advisories"
    },
    "require": {
        "php": ">=7.4,<8.3",
        "lib-pcre": ">=7.0",
        "hamcrest/hamcrest-php": "^2.0.1"
    },
    "require-dev": {
        "phpunit/phpunit": "^8.5 || ^9.3",
        "psalm/plugin-phpunit": "^0.18.4",
        "vimeo/psalm": "^5.13.1"
    },
    "conflict": {
        "phpunit/phpunit": "<8.0"
    },
    "autoload": {
        "psr-4": {
            "Mockery\\": "src/Mockery"
        },
        "files": [
            "src/helpers.php",
            "src/Mockery.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Fixture\\": "tests/Fixture/",
            "test\\": "tests/"
        },
        "files": [
            "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php"
        ]
    },
    "config": {
        "optimize-autoloader": true,
        "platform": {
            "php": "7.4.999"
        },
        "preferred-install": "dist",
        "sort-packages": true
    },
    "scripts": {
        "check": [
            "@composer validate",
            "@test"
        ],
        "docs": "vendor/bin/phpdoc -d src -t docs/api",
        "phpunit": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure",
        "phpunit:coverage": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure --coverage-clover=coverage.xml",
        "psalm": [
            "@psalm:shepherd",
            "@psalm:security",
            "@psalm:dry-run"
        ],
        "psalm:baseline": "vendor/bin/psalm --no-diff --no-cache --set-baseline=psalm-baseline.xml",
        "psalm:dry-run": "vendor/bin/psalm --no-cache  --alter --issues=all --dry-run",
        "psalm:security": "vendor/bin/psalm --no-diff --no-cache --taint-analysis",
        "psalm:shepherd": "vendor/bin/psalm --no-diff --no-cache  --shepherd --stats --output-format=github",
        "test": [
            "@phpunit",
            "@psalm"
        ]
    }
}