Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 17, 2024
1 parent 42d413d commit e91bc0e
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 e91bc0e

Please sign in to comment.