updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -59,7 +59,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
$result = [];
while (\count($result) < $limit && $line = $this->readLineFromFile($file)) {
$values = str_getcsv($line);
$values = str_getcsv($line, ',', '"', '\\');
if (7 > \count($values)) {
// skip invalid lines
@@ -193,7 +193,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
$profile->getParentToken(),
$profile->getStatusCode(),
$profile->getVirtualType() ?? 'request',
]);
], ',', '"', '\\');
fclose($file);
if (1 === mt_rand(1, 10)) {
@@ -334,7 +334,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
}
while ($line = fgets($handle)) {
$values = str_getcsv($line);
$values = str_getcsv($line, ',', '"', '\\');
if (7 > \count($values)) {
// skip invalid lines