Skip to content

Commit cb5443a

Browse files
committed
JIT in GitHub Actions when running PHPStan
1 parent 4437517 commit cb5443a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/static-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
php-version: "${{ matrix.php-version }}"
4848
ini-file: development
4949
extensions: mbstring
50+
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
5051

5152
- name: "Install dependencies"
5253
run: "composer install --no-interaction --no-progress"
@@ -84,6 +85,7 @@ jobs:
8485
coverage: "none"
8586
php-version: "${{ matrix.php-version }}"
8687
ini-file: development
88+
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
8789
extensions: mbstring
8890

8991
- name: "Install dependencies"
@@ -121,6 +123,7 @@ jobs:
121123
with:
122124
coverage: "none"
123125
php-version: "8.1"
126+
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
124127
ini-file: development
125128

126129
- name: "Install dependencies"
@@ -147,6 +150,7 @@ jobs:
147150
with:
148151
coverage: "none"
149152
php-version: "8.1"
153+
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
150154
ini-file: development
151155

152156
- name: "Install dependencies"

0 commit comments

Comments
 (0)