🤖 Rector and PHPCS fixes
[dokuwiki.git] / _test / composer.json
blob896f8ef1eaa6fe21911ecd67372e58885b7f8fe8
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.3",
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     }