diff --git a/src/Runner/PlainTextTracer.php b/src/Runner/PlainTextTracer.php index a1fcc7e23b6..9b7cb8d669c 100644 --- a/src/Runner/PlainTextTracer.php +++ b/src/Runner/PlainTextTracer.php @@ -43,7 +43,7 @@ public function trace(Event $event): void file_put_contents( $this->path, $telemetryInfo . implode($indentation, $lines) . PHP_EOL, - FILE_APPEND|LOCK_EX + FILE_APPEND | LOCK_EX ); } diff --git a/src/Util/Printer.php b/src/Util/Printer.php index 14522296d86..4921bcdd7fc 100644 --- a/src/Util/Printer.php +++ b/src/Util/Printer.php @@ -92,7 +92,7 @@ public function write(string $buffer): void assert($this->isOpen); if (PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg' && $this->isPhpStream) { - $buffer = htmlspecialchars($buffer, ENT_COMPAT|ENT_SUBSTITUTE); + $buffer = htmlspecialchars($buffer, ENT_COMPAT | ENT_SUBSTITUTE); } fwrite($this->stream, $buffer); diff --git a/tests/_files/mock-object/InterfaceWithMethodsThatDeclareBooleanReturnTypes.php b/tests/_files/mock-object/InterfaceWithMethodsThatDeclareBooleanReturnTypes.php index 3258280a821..b40bfe359f0 100644 --- a/tests/_files/mock-object/InterfaceWithMethodsThatDeclareBooleanReturnTypes.php +++ b/tests/_files/mock-object/InterfaceWithMethodsThatDeclareBooleanReturnTypes.php @@ -11,7 +11,7 @@ interface InterfaceWithMethodsThatDeclareBooleanReturnTypes { - public function returnsIntOrFalse(): int | false; + public function returnsIntOrFalse(): int|false; public function returnsBool(): bool; }