Improve message for missing or invalid APP_ENV #2032
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
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'CHANGELOG.md' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'infection.json.dist' | |
| - 'phpunit.xml.dist' | |
| push: | |
| branches: ['master'] | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'CHANGELOG.md' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'infection.json.dist' | |
| - 'phpunit.xml.dist' | |
| name: static analysis | |
| jobs: | |
| psalm: | |
| name: PHP ${{ matrix.php }}-${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install PHP with extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: none | |
| php-version: ${{ matrix.php }} | |
| tools: composer:v2, cs2pr | |
| - name: Install Composer dependencies | |
| uses: ramsey/composer-install@v3 | |
| - name: Static analysis | |
| run: vendor/bin/psalm --shepherd --stats --output-format=checkstyle --no-cache --php-version=${{ matrix.php }} | cs2pr --graceful-warnings --colorize |