Ensure check isFirstClassCallable() before node->getArgs() on CallLike #19652
Workflow file for this run
This file contains 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@v3 | |
# see https://github.com/shivammathur/setup-php | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
coverage: none | |
# must be cleared, as local config is missing dev dependencies | |
- run: | | |
rm phpstan-for-rector.neon | |
touch phpstan-for-rector.neon | |
- run: | | |
composer install --ansi | |
composer install --no-progress --ansi --no-dev | |
- run: bin/rector list --ansi |