Skip to content

Commit

Permalink
Merge pull request #114 from phug-php/analysis-xgmrM9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
kylekatarnls authored Mar 17, 2024
2 parents 42d413d + e91bc0e commit 0f8a86a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Phug/Renderer/Renderer/Partial/Debug/DebuggerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ private function isStdOutATTY()
}

$stat = @fstat(STDOUT);

// Check if formatted mode is S_IFCHR
return $stat ? 0020000 === ($stat['mode'] & 0170000) : false;
}
Expand Down
1 change: 1 addition & 0 deletions src/Phug/Util/Util/SandBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function __construct(callable $action, callable $errorInterceptor = null)
return false;
});
ob_start();

// @codeCoverageIgnoreStart
try {
$this->result = $action();
Expand Down

0 comments on commit 0f8a86a

Please sign in to comment.