Remove setAttribute() from Rector rules, where not suitable + add phpstan rule to help separate to DecoratingNodeVisitors #31738
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 [no dev] | |
| on: | |
| pull_request: null | |
| env: | |
| # see https://github.com/composer/composer/issues/9368#issuecomment-718112361 | |
| COMPOSER_ROOT_VERSION: "dev-main" | |
| jobs: | |
| code_analysis_no_dev: | |
| 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 | |
| - run: | | |
| composer install --ansi | |
| composer install --no-progress --ansi --no-dev | |
| - run: bin/rector list --ansi |