Skip to content

Revert UserFrosting\Cache\Cache #58

Revert UserFrosting\Cache\Cache

Revert UserFrosting\Cache\Cache #58

Workflow file for this run

name: PHPStan
on:
push:
branches: [develop-5.0]
pull_request:
branches: [develop-5.0]
workflow_dispatch:
jobs:
PHPStan:
strategy:
fail-fast: false
matrix:
php_versions: ['8.0', '8.1', '8.2']
runs-on: ubuntu-latest
name: PHPStan - ${{ matrix.php_versions }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run PHPStan
run: vendor/bin/phpstan analyse src/{Alert,Bakery,Cache,Config,Event,I18n,Routes,ServicesProvider,Session,Sprinkle,UniformResourceLocator} tests/{Alert,Bakery,Cache,Config,Event,Routes,Session,Sprinkle,UniformResourceLocator}