xref: /dokuwiki/_test/composer.json (revision cad27e80a983b270a13cd79a42d90d4e82d90c83)
1{
2    "require": {
3        "php": ">=7.4",
4        "scotteh/php-dom-wrapper": "^2.0"
5    },
6    "config": {
7        "platform": {
8            "php": "7.4"
9        }
10    },
11    "prefer-stable": true,
12    "require-dev": {
13        "rector/rector": "^0.18.12",
14        "squizlabs/php_codesniffer": "^3.7",
15        "phpunit/phpunit": "^8.5"
16    },
17    "scripts": {
18        "test": [
19            "phpunit --verbose --stderr"
20        ],
21        "autofix": [
22            "vendor/bin/rector process",
23            "phpcbf --standard=./phpcs_MigrationAdjustments.xml"
24        ],
25        "check": [
26            "phpcs --standard=./phpcs_MigrationAdjustments.xml"
27        ]
28    }
29}
30