Skip to content

Commit 25d83ea

Browse files
klapaudiusgithub-actions[bot]
authored andcommitted
Fix styling
1 parent c857779 commit 25d83ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Transports/AbstractTransport.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function start(): void
9999

100100
// Only modify these settings if not in test environment
101101
// Tests need output buffering to capture output
102-
if (!defined('PHPUNIT_RUNNING')) {
102+
if (! defined('PHPUNIT_RUNNING')) {
103103
set_time_limit(0);
104104
ini_set('output_buffering', 'off');
105105
ini_set('zlib.output_compression', false);
@@ -153,8 +153,8 @@ protected function sendEvent(string $event, string $data): void
153153
echo PHP_EOL;
154154

155155
// Only flush when not in test environment
156-
if (!defined('PHPUNIT_RUNNING')
157-
&& false !== ob_get_length()) {
156+
if (! defined('PHPUNIT_RUNNING')
157+
&& ob_get_length() !== false) {
158158
ob_flush(); // Flush PHP's output buffer first
159159
}
160160
flush(); // Then flush system/web server buffers

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
define('PHPUNIT_RUNNING', true);
77

88
// Load the composer autoloader
9-
require dirname(__DIR__).'/vendor/autoload.php';
9+
require dirname(__DIR__).'/vendor/autoload.php';

0 commit comments

Comments
 (0)