Apply rector, phpstan and php-cs-fixer
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
15
.drone.yml
15
.drone.yml
@ -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
|
||||
|
Reference in New Issue
Block a user