Skip to content

PHPStan dev

PHPStan dev #16

Workflow file for this run

name: "PHPStan dev"
on:
schedule:
- cron: "1 0 * * *"
workflow_dispatch: null
jobs:
phpstan-dev:
strategy:
matrix:
php: ["8.3"]
laravel: ["^11.0"]
fail-fast: false
name: "P${{ matrix.php }} - L${{ matrix.laravel }}"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: "dom, curl, libxml, mbstring, zip, fileinfo"
coverage: "none"
- name: "Change Composer config minimum-stability"
run: "composer config minimum-stability stable"
- name: "Change Composer config prefer-stable"
run: "composer config prefer-stable false"
- name: "Require PHPStan dev version"
run: "composer require phpstan/phpstan:@dev --no-update --no-interaction --no-progress"
- name: "Install highest dependencies from composer.json"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress"
- name: "Execute static analysis"
run: "composer run-script test:types"