mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Fix CS
This commit is contained in:
@@ -127,7 +127,9 @@ class StreamHandler extends AbstractProcessingHandler
|
|||||||
private function createDir()
|
private function createDir()
|
||||||
{
|
{
|
||||||
// Do not try to create dir if it has already been tried.
|
// Do not try to create dir if it has already been tried.
|
||||||
if ($this->dirCreated) return;
|
if ($this->dirCreated) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$dir = $this->getDirFromStream($this->url);
|
$dir = $this->getDirFromStream($this->url);
|
||||||
if (null !== $dir && !is_dir($dir)) {
|
if (null !== $dir && !is_dir($dir)) {
|
||||||
|
@@ -62,14 +62,14 @@ class IntrospectionProcessor
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
while (isset($trace[$i]['class']) || in_array($trace[$i]['function'], $this->skipFunctions)) {
|
while (isset($trace[$i]['class']) || in_array($trace[$i]['function'], $this->skipFunctions)) {
|
||||||
if(isset($trace[$i]['class'])) {
|
if (isset($trace[$i]['class'])) {
|
||||||
foreach ($this->skipClassesPartials as $part) {
|
foreach ($this->skipClassesPartials as $part) {
|
||||||
if (strpos($trace[$i]['class'], $part) !== false) {
|
if (strpos($trace[$i]['class'], $part) !== false) {
|
||||||
$i++;
|
$i++;
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif(in_array($trace[$i]['function'], $this->skipFunctions)) {
|
} elseif (in_array($trace[$i]['function'], $this->skipFunctions)) {
|
||||||
$i++;
|
$i++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user