Skip to content

feat: PHPStan Request Factories - Upgrade to PHPStan 2.x #21

feat: PHPStan Request Factories - Upgrade to PHPStan 2.x

feat: PHPStan Request Factories - Upgrade to PHPStan 2.x #21

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: PHPStan
runs-on: ubuntu-latest
env:
PREVENT_OUTPUT: true
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install composer dependencies
uses: ramsey/composer-install@v3
- name: Execute tests
run: composer test:unit