Repository navigation
Commit 9c49ae3
Load dead-code-detector in self-analysis only on PHP 8.2 and later
On PHP 8.1 serialize() does not trim its buffer, so every cache key that
DeadCodeRule builds with it holds a 4 KB allocation. The rule then needs
about 150 MB more in the main process, and the Windows PHP 8.1 job runs
out of its memory limit.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 08e3736 commit 9c49ae3
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments