xref: /dokuwiki/_test/composer.json (revision 2ab82b8ef8aba27fb6fd9fed95a7d4c66b3bab99)
1acdf738aSAndreas Gohr{
2acdf738aSAndreas Gohr    "require": {
3*2ab82b8eSAndreas Gohr        "php": ">=7.4",
4acdf738aSAndreas Gohr        "scotteh/php-dom-wrapper": "^2.0"
5acdf738aSAndreas Gohr    },
6acdf738aSAndreas Gohr    "config": {
7acdf738aSAndreas Gohr        "platform": {
8*2ab82b8eSAndreas Gohr            "php": "7.4"
9acdf738aSAndreas Gohr        }
10acdf738aSAndreas Gohr    },
1197170572SAndreas Gohr    "prefer-stable": true,
1297170572SAndreas Gohr    "require-dev": {
1397170572SAndreas Gohr        "rector/rector": "^0.18.3",
1497170572SAndreas Gohr        "squizlabs/php_codesniffer": "^3.7",
1597170572SAndreas Gohr        "phpunit/phpunit": "^8.5"
16*2ab82b8eSAndreas Gohr    },
17*2ab82b8eSAndreas Gohr    "scripts": {
18*2ab82b8eSAndreas Gohr        "test": [
19*2ab82b8eSAndreas Gohr            "phpunit --verbose --stderr"
20*2ab82b8eSAndreas Gohr        ],
21*2ab82b8eSAndreas Gohr        "autofix": [
22*2ab82b8eSAndreas Gohr            "vendor/bin/rector process",
23*2ab82b8eSAndreas Gohr            "phpcbf --standard=./phpcs_MigrationAdjustments.xml"
24*2ab82b8eSAndreas Gohr        ],
25*2ab82b8eSAndreas Gohr        "check": [
26*2ab82b8eSAndreas Gohr            "phpcs --standard=./phpcs_MigrationAdjustments.xml"
27*2ab82b8eSAndreas Gohr        ]
2897170572SAndreas Gohr    }
29acdf738aSAndreas Gohr}
30