summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: fad22804938b715fbc49d17a1cec429b556699c0 (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
{
    "name": "webimpress/safe-writer",
    "description": "Tool to write files safely, to avoid race conditions",
    "license": "BSD-2-Clause",
    "keywords": [
        "webimpress",
        "safe writer",
        "file writer",
        "concurrent write",
        "race condition"
    ],
    "require": {
        "php": "^7.3 || ^8.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5.4",
        "vimeo/psalm": "^4.7",
        "webimpress/coding-standard": "^1.2.2"
    },
    "autoload": {
        "psr-4": {
            "Webimpress\\SafeWriter\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "WebimpressTest\\SafeWriter\\": "test/"
        }
    },
    "config": {
        "sort-packages": true
    },
    "extra": {
        "branch-alias": {
            "dev-master": "2.2.x-dev",
            "dev-develop": "2.3.x-dev",
            "dev-release-1.0": "1.0.x-dev"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test",
            "@static-analysis"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "static-analysis": "psalm --shepherd --stats",
        "test": "phpunit --colors=always",
        "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
    }
}