summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 80beece890e55c6cba826065bfe646eaf3240e6a (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
{
    "name": "bartlett/php-compatinfo",
    "description": "Find out the minimum version and the extensions required for a piece of code to run",
    "keywords": ["compatibility", "version"],
    "type": "library",
    "license": "BSD-3-Clause",
    "homepage": "https://github.com/llaville/php-compatinfo",
    "support": {
        "source": "https://github.com/llaville/php-compatinfo",
        "issues": "https://github.com/llaville/php-compatinfo/issues"
    },
    "require": {
        "php": "^8.1",
        "ext-json": "*",
        "ext-pcre": "*",
        "ext-spl": "*",
        "bartlett/php-compatinfo-db": "^6.4.2",
        "bartlett/sarif-php-sdk": "^2.1",
        "composer-runtime-api": "^2.1",
        "doctrine/collections": "^2.1",
        "nikic/php-parser": "^5.0",
        "psr/log": "^3.0",
        "ramsey/uuid": "^4.0",
        "symfony/config": "^6.4 || ^7.0",
        "symfony/console": "^6.4 || ^7.0",
        "symfony/event-dispatcher": "^6.4 || ^7.0",
        "symfony/finder": "^6.4 || ^7.0",
        "symfony/dependency-injection": "^6.4 || ^7.0",
        "symfony/serializer": "^6.4 || ^7.0",
        "symfony/stopwatch": "^6.4 || ^7.0"
    },
    "require-dev": {
        "symfony/framework-bundle": "^6.4 || ^7.0",
        "bamarni/composer-bin-plugin": "^1.8"
    },
    "authors": [
        {
            "name": "Laurent Laville",
            "homepage": "https://github.com/llaville",
            "role": "Lead"
        },
        {
            "name": "Remi Collet",
            "homepage": "https://github.com/remicollet",
            "role": "Contributor"
        }
    ],
    "bin": [
        "bin/phpcompatinfo"
    ],
    "autoload": {
        "psr-4": {
            "Bartlett\\CompatInfo\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Bartlett\\CompatInfo\\Tests\\": "tests/"
        }
    },
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true
        }
    },
    "extra": {
        "branch-alias": {
            "dev-master": "7.2.x-dev"
        },
        "bamarni-bin": {
            "bin-links": true,
            "target-directory": "vendor-bin",
            "forward-command": true
        }
    },
    "scripts": {
        "bin": "echo 'bin not installed'",
        "code:check": "vendor/bin/phpstan analyse --configuration .github/linters/phpstan.neon.dist --ansi --verbose",
        "code:lint": "vendor/bin/phplint --configuration .github/linters/.phplint.yml --verbose --progress=indicator --ansi",
        "style:check": "vendor/bin/phpcs --standard=.github/linters/.phpcs.xml.dist --warning-severity=0 --colors",
        "tests:unit": "vendor/bin/phpunit --configuration phpunit.xml.dist"
    },
    "scripts-descriptions" : {
        "code:check": "Run PHPStan code analysis on project source code",
        "code:lint": "Run PHPLint on project source code",
        "style:check": "Run PHP CodeSniffer on project source code",
        "tests:unit": "Run unit tests"
    }
}