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

@ -9,22 +9,29 @@ steps:
- composer install
- name: phpstan
image: php:8
image: php:8.1
depends_on:
- install
commands:
- vendor/bin/phpstan analyse
- name: rector
image: php:8.1
depends_on:
- install
commands:
- vendor/bin/rector process --dry-run
- name: phpunit
image: php:8
image: php:8.1
depends_on:
- install
commands:
- vendor/bin/phpunit
- name: style check
image: php:8
image: php:8.1
depends_on:
- install
commands:
- PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix
- vendor/bin/php-cs-fixer fix