Fix LogicalToBooleanRector: parenthesize assignments nested under unary/binary operators #285
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: Remove Unused Dependencies | |
| on: | |
| pull_request: null | |
| jobs: | |
| remove_unused_deps: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 8 | |
| if: github.event.pull_request.head.repo.full_name == 'rectorphp/rector-src' | |
| steps: | |
| - | |
| uses: actions/checkout@v4 | |
| with: | |
| # Must be used to trigger workflow after push | |
| token: ${{ secrets.ACCESS_TOKEN }} | |
| - | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| coverage: none | |
| - run: composer install --no-progress --ansi | |
| ## detect unused dependencies and remove them from composer.json | |
| - run: php scripts/remove-unused-deps.php --ansi | |
| - | |
| # commit only to core contributors who have repository access | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: '[ci-review] Remove unused dependencies' | |
| commit_author: 'GitHub Action <actions@github.com>' | |
| commit_user_email: 'action@github.com' |