Apply rector, phpstan and php-cs-fixer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-29 19:52:02 +01:00
parent f35c24d35d
commit b07b0b2ae8
22 changed files with 869 additions and 1105 deletions

View File

@ -12,16 +12,17 @@
"require": {
"php": "^8.1",
"ext-mbstring": "*",
"symfony/console": "^5",
"cebe/markdown": "^1.2"
"cebe/markdown": "^1.2",
"phppkg/cli-markdown": "^2.0",
"symfony/console": "^6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.3",
"jetbrains/phpstorm-attributes": "^1.0",
"nunomaduro/collision": "^5.10",
"nunomaduro/collision": "^6",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.8",
"symfony/var-dumper": "^6.0"
},
"autoload": {
@ -34,11 +35,6 @@
"Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"style": "PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix",
"phpstan": "vendor/bin/phpstan analyse"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true