Fixing 'Using null as an array offset is deprecated, use an empty string instead' deprecation warning #1394
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 | |
| - 5.x | |
| pull_request: | |
| branches: | |
| - master | |
| - 5.x | |
| 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@v4 | |
| with: | |
| dependency-versions: 'highest' | |
| - name: Require type-info-extras | |
| run: composer require radebatz/type-info-extras -W | |
| - name: Static Code Analysis | |
| run: composer analyse |