Add mixed as parameter type, add plan to change return types to mixed… #147
Workflow file for this run
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: PHPStan | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: Run PHPStan with PHP ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: ['ubuntu-latest'] | |
php: ['8.3'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup PHP with composer and extensions | |
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: xdebug | |
tools: none | |
- name: Install Composer dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: Run PHPStan | |
run: composer run phpstan |