Commit 2c0e00e
committed
avoid conflicting definitions for readgzfile
- official docs don't give it a type at all
- in php 8.1-8.4 it defaulted to "0"
- in php 8.5 it defaults to "false"
phpstan 2.1's database says it's an int, but assigning `false` to int is a syntax error, so let's override that to leave the type unspecified, which is compatible with both `0` and `false`1 parent 640679f commit 2c0e00e
6 files changed
Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
0 commit comments