Make ClassLike::from
return type assert the subclass type (BC break…
#457
This file contains 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 (only informative) | |
on: [push, pull_request] | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- run: composer install --no-progress --prefer-dist | |
- run: composer phpstan -- --no-progress | |
continue-on-error: true # is only informative |