fix: prevent undefined array key errors in KEY_TYPE_MAP access #4092
Workflow file for this run
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: | |
| pull_request: | |
| push: | |
| jobs: | |
| static-analysis: | |
| name: "Static Analysis" | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| dependencies: | |
| - "locked" | |
| php-version: | |
| - "8.3" | |
| operating-system: | |
| - "ubuntu-latest" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/[email protected]" | |
| - name: "Install PHP" | |
| uses: "shivammathur/[email protected]" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| ini-values: memory_limit=-1 | |
| tools: composer:v2, cs2pr | |
| - name: "Install dependencies" | |
| uses: "ramsey/[email protected]" | |
| with: | |
| dependency-versions: "${{ matrix.dependencies }}" | |
| - name: "PHPStan" | |
| run: "make phpstan" |