-
-
Notifications
You must be signed in to change notification settings - Fork 7
28 lines (23 loc) · 614 Bytes
/
Copy pathphpstan.yml
File metadata and controls
28 lines (23 loc) · 614 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: PHPStan
on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
jobs:
phpstan:
runs-on: ubuntu-latest
name: PHPStan Latest
steps:
- uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.5
coverage: none
- name: Install dependencies
env:
XDEBUG_MODE: off
run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --ansi
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format=github