Drop redundant method_exists checks (#1862)
#1188
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: static-analysis | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| static-analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| name: Checkout repository | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| - uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: 'highest' | |
| - name: Require type-info-extras | |
| run: composer require radebatz/type-info-extras -W | |
| - name: Static Code Analysis | |
| run: composer analyse |