Skip to content

Add option to hide providers #191

Add option to hide providers

Add option to hide providers #191

Workflow file for this run

name: PHPStan
on:
push:
paths:
- '**.php'
- '.github/workflows/phpstan.yml'
- 'phpstan.neon.dist'
- 'phpstan.laravel-10.neon.dist'
pull_request:
branches:
- '**'
jobs:
phpstan:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.4, 8.3, 8.2, 8.1]
laravel: [10.*, 11.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
phpstan_neon: phpstan.laravel-10.neon.dist
- laravel: 11.*
testbench: 9.*
phpstan_neon: phpstan.neon.dist
exclude:
- laravel: 11.*
php: 8.1
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }}
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, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
- name: Run PHPStan
run: vendor/bin/phpstan --error-format=github --configuration=${{ matrix.phpstan_neon }}