vendor and env first commit

This commit is contained in:
2025-03-28 08:52:46 +01:00
parent f8388bc81b
commit 8f26283832
10976 changed files with 1349952 additions and 2 deletions
@@ -0,0 +1,24 @@
<?php
namespace Spatie\FlareClient\Support;
class PhpStackFrameArgumentsFixer
{
public function enable(): void
{
if (! $this->isCurrentlyIgnoringStackFrameArguments()) {
return;
}
ini_set('zend.exception_ignore_args', '0');
}
protected function isCurrentlyIgnoringStackFrameArguments(): bool
{
return match (ini_get('zend.exception_ignore_args')) {
'1' => true,
'0' => false,
default => false,
};
}
}