Skip to content

Add PHP 8.3 & Laravel 11 support; Use PHP attributes in tests #14

Add PHP 8.3 & Laravel 11 support; Use PHP attributes in tests

Add PHP 8.3 & Laravel 11 support; Use PHP attributes in tests #14

Workflow file for this run

name: PHPStan
on:
- push
- pull_request
jobs:
phpstan:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.lock', '*/composer.lock') }}
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php }}
php_extensions: gd
command: update
- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
with:
path: src/
configuration: phpstan.neon
php_version: ${{ matrix.php }}
php_extensions: gd