docs: Improve the description for the clear cache option #31692
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Analysis | |
| on: | |
| pull_request: null | |
| env: | |
| # see https://github.com/composer/composer/issues/9368#issuecomment-718112361 | |
| COMPOSER_ROOT_VERSION: "dev-main" | |
| jobs: | |
| code_analysis: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| actions: | |
| - | |
| name: 'Composer Validate' | |
| run: composer validate --ansi | |
| - | |
| name: 'Run with Space in Directory' | |
| run: bin/rector process tests-paths/path/with\ space/SomeFile.php --clear-cache | |
| - | |
| name: 'Preload php-parser Order' | |
| run: php preload.php | |
| - | |
| name: 'PHPStan' | |
| run: vendor/bin/phpstan analyse --ansi | |
| - | |
| name: 'Help and Version' | |
| run: | |
| bin/rector --help | |
| bin/rector --version | |
| - | |
| name: 'Commented Code' | |
| run: vendor/bin/swiss-knife check-commented-code src rules tests rules-tests --line-limit 5 --ansi | |
| - | |
| name: 'Active Classes' | |
| run: | | |
| vendor/bin/class-leak check bin config src rules utils --skip-suffix "Rector" --skip-type="Rector\\Utils\\Compiler\\Unprefixer" --skip-type="Rector\\NodeCollector\\BinaryOpConditionsCollector" --skip-type="Rector\\Set\\Contract\\SetListInterface" | |
| - | |
| name: 'Compatible PHPStan versions' | |
| run: php scripts/validate-phpstan-version.php | |
| - | |
| name: 'Finalize classes' | |
| run: vendor/bin/swiss-knife finalize-classes src tests rules --dry-run | |
| - | |
| name: 'Check before/after test fixture on no-changes' | |
| run: php scripts/check-before-after-same-fixtures.php | |
| - | |
| name: 'Check fixture classes are different to nodes' | |
| run: php scripts/avoid-short-node-names-in-fixtures.php | |
| - | |
| name: 'Check no "*.php" files in rules Fixture directory' | |
| run: php scripts/no-php-file-in-fixtures.php | |
| - | |
| name: 'Detect composer dependency issues' | |
| run: vendor/bin/composer-dependency-analyser | |
| - | |
| name: "PHP Linter" | |
| run: | | |
| composer require php-parallel-lint/php-parallel-lint --ansi | |
| vendor/bin/parallel-lint src bin/rector config tests rules --colors | |
| name: ${{ matrix.actions.name }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # see https://github.com/shivammathur/setup-php | |
| - | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.2 | |
| coverage: none | |
| - uses: "ramsey/composer-install@v3" | |
| - run: ${{ matrix.actions.run }} |