1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-27 02:21:43 +01:00

Exclude all php:// prefixed URLs for inode chekcs

This commit is contained in:
Jordi Boggiano
2025-10-23 21:20:52 +02:00
parent 282b43c996
commit 24816d98c6

View File

@@ -258,7 +258,7 @@ class StreamHandler extends AbstractProcessingHandler
private function getInodeFromUrl(): ?int
{
if ($this->url === null || $this->url === 'php://memory') {
if ($this->url === null || str_starts_with($this->url, 'php://')) {
return null;
}