Change default value to an empty string instead of null #852
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: | |
pull_request: | |
jobs: | |
static-analysis: | |
name: "Static analysis" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-version: | |
- "8.3" | |
steps: | |
- name: "Checkout code" | |
uses: "actions/checkout@v4" | |
- name: "Setup PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php-version }}" | |
ini-values: "memory_limit=-1" | |
tools: composer:v2 | |
coverage: none | |
- name: "Install dependencies" | |
uses: nick-invision/retry@v3.0.0 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: >- | |
composer install | |
--prefer-dist | |
--no-interaction | |
--no-progress | |
- name: "Run analysis" | |
run: >- | |
./vendor/bin/phpstan analyze src | |
--no-progress | |
--memory-limit=-1 | |
-c phpstan.neon |