summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 2a86c2d96fb16d42a32483a7d22f9d0b188560c8 (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
{
    "name":         "phpspec/prophecy",
    "description":  "Highly opinionated mocking framework for PHP 5.3+",
    "keywords":     ["Mock", "Stub", "Dummy", "Double", "Fake", "Spy", "dev"],
    "homepage":     "https://github.com/phpspec/prophecy",
    "type":         "library",
    "license":      "MIT",
    "authors":      [
        {
            "name":      "Konstantin Kudryashov",
            "email":     "ever.zet@gmail.com",
            "homepage":  "http://everzet.com"
        },
        {
            "name":      "Marcello Duarte",
            "email":     "marcello.duarte@gmail.com"
        }
    ],

    "require": {
        "php":                               "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
        "phpdocumentor/reflection-docblock": "^5.2",
        "sebastian/comparator":              "^3.0 || ^4.0 || ^5.0 || ^6.0",
        "doctrine/instantiator":             "^1.2 || ^2.0",
        "sebastian/recursion-context":       "^3.0 || ^4.0 || ^5.0 || ^6.0"
    },

    "require-dev": {
        "phpspec/phpspec": "^6.0 || ^7.0",
        "phpstan/phpstan": "^1.9",
        "phpunit/phpunit": "^8.0 || ^9.0 || ^10.0"
    },

    "autoload": {
        "psr-4": {
            "Prophecy\\": "src/Prophecy"
        }
    },

    "autoload-dev": {
        "psr-4": {
            "Fixtures\\Prophecy\\": "fixtures",
            "Tests\\Prophecy\\": "tests"
        }
    },

    "scripts": {
        "phpstan": "phpstan analyse",
        "phpstan:baseline": "phpstan analyse --generate-baseline"
    },

    "scripts-descriptions": {
        "phpstan": "Run PHPStan analysis",
        "phpstan:baseline": "Dump PHPStan baseline file - use only for updating, do not add new errors when possible"
    },

    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        }
    }
}