xref: /dokuwiki/_test/composer.json (revision 93aadb6cff7081ad35737017474426dcdf7f4b8a)
1acdf738aSAndreas Gohr{
2acdf738aSAndreas Gohr    "require": {
32ab82b8eSAndreas Gohr        "php": ">=7.4",
4acdf738aSAndreas Gohr        "scotteh/php-dom-wrapper": "^2.0"
5acdf738aSAndreas Gohr    },
6acdf738aSAndreas Gohr    "config": {
7acdf738aSAndreas Gohr        "platform": {
82ab82b8eSAndreas Gohr            "php": "7.4"
9acdf738aSAndreas Gohr        }
10acdf738aSAndreas Gohr    },
1197170572SAndreas Gohr    "prefer-stable": true,
1297170572SAndreas Gohr    "require-dev": {
13*93aadb6cSAndreas Gohr        "rector/rector": "^1.2",
1497170572SAndreas Gohr        "squizlabs/php_codesniffer": "^3.7",
15759b7c08SAndreas Gohr        "phpunit/phpunit": "^9.0"
162ab82b8eSAndreas Gohr    },
172ab82b8eSAndreas Gohr    "scripts": {
182ab82b8eSAndreas Gohr        "test": [
192ab82b8eSAndreas Gohr            "phpunit --verbose --stderr"
202ab82b8eSAndreas Gohr        ],
212ab82b8eSAndreas Gohr        "autofix": [
222ab82b8eSAndreas Gohr            "vendor/bin/rector process",
232ab82b8eSAndreas Gohr            "phpcbf --standard=./phpcs_MigrationAdjustments.xml"
242ab82b8eSAndreas Gohr        ],
252ab82b8eSAndreas Gohr        "check": [
262ab82b8eSAndreas Gohr            "phpcs --standard=./phpcs_MigrationAdjustments.xml"
272ab82b8eSAndreas Gohr        ]
2897170572SAndreas Gohr    }
29acdf738aSAndreas Gohr}
30