Make use of FileNode - remove beforeTraverse() from nullsafe method call; counter is not relevant as output is already ternary nesting #713
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 Reusable | |
| on: | |
| pull_request: null | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| code_analysis_reusable: | |
| # see https://github.com/rectorphp/reusable-workflows | |
| uses: rectorphp/reusable-workflows/.github/workflows/code_analysis.yaml@main | |
| rector: | |
| # run only on main repository, not on the forks without access | |
| if: github.repository == 'rectorphp/rector-downgrade-php' | |
| # see https://github.com/rectorphp/reusable-workflows | |
| uses: rectorphp/reusable-workflows/.github/workflows/rector.yaml@main |