-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 794 Bytes
/
phpstan.yml
File metadata and controls
31 lines (25 loc) · 794 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
29
30
31
on:
push:
branches:
- main
pull_request:
types: [ opened, labeled, synchronize ]
name: PHPStan Code Analysis
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: "📥 Fetching Repository Contents"
uses: actions/checkout@v4.1.1
- name: "💽 Installing PHP, Composer, CS2PR"
uses: shivammathur/setup-php@2.30.2
with:
php-version: 8.0.22
coverage: none
ini-values: display_errors = on, error_reporting = E_ALL, opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
tools: composer
- name: "💽 Installing Composer Packages"
run: composer install
- name: "🧪 Test"
run: vendor/bin/phpstan analyze ./ --memory-limit=2G