This commit is contained in:
TomasVotruba 2020-01-18 01:06:59 +01:00
parent 05b6df31e6
commit 5f7f3c6c02
2 changed files with 30 additions and 11 deletions

View File

@ -88,7 +88,7 @@ jobs:
- run: composer install --no-progress
- run: composer check-docs
simple_checks:
simple_check_services_in_yaml_configs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -98,12 +98,31 @@ jobs:
php-version: 7.2
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: |
php ci/check_services_in_yaml_configs.php
- run: |
php ci/run_all_sets.php
- run: |
php ci/check_keep_fixtures.php
- run: php ci/check_services_in_yaml_configs.php
simple_run_all_sets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-
uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: php ci/run_all_sets.php
simple_keep_fixtures_checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-
uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: php ci/check_keep_fixtures.php
phpstan_types_checks:
runs-on: ubuntu-latest

View File

@ -376,17 +376,17 @@ We also need to load Rector rules in `composer.json`:
"autoload": {
"psr-4": {
"App\\": "src"
}
}
},
"autoload-dev": {
"psr-4": {
"Utils\\": "utils"
}
}
}
}
```
After adding this to `composer.json`, be sure to reload composer class map:
After adding this to `composer.json`, be sure to reload composer class map:
```bash
composer dump-autoload
@ -416,7 +416,7 @@ That's it!
### Generate Rector Rule
Do you want to save time with making rules and tests?
Do you want to save time with making rules and tests?
Use [`create` command](/docs/RectorRecipe.md).