File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ protected static function getTableDecoration(): string
6161
6262 private function getOutputStream (): StreamOutput
6363 {
64- if (PHP_VERSION_ID >= 80000 && DIRECTORY_SEPARATOR === '\\' ) {
64+ if (DIRECTORY_SEPARATOR === '\\' ) {
6565 $ this ->markTestSkipped ('Skipped because of https://github.com/symfony/symfony/issues/37508 ' );
6666 }
6767 if ($ this ->outputStream === null ) {
Original file line number Diff line number Diff line change @@ -34,12 +34,7 @@ public function testReadInvalidFile(): void
3434 public function testWriteInvalidFile (): void
3535 {
3636 $ this ->expectException (CouldNotWriteFileException::class);
37- if (PHP_VERSION_ID >= 80000 ) {
38- $ this ->expectExceptionMessage ('Could not write file: / (file_put_contents(/): Failed to open stream: Is a directory) ' );
39- }
40- if (PHP_VERSION_ID < 80000 ) {
41- $ this ->expectExceptionMessage ('Could not write file: / (file_put_contents(/): failed to open stream: Is a directory) ' );
42- }
37+ $ this ->expectExceptionMessage ('Could not write file: / (file_put_contents(/): Failed to open stream: Is a directory) ' );
4338 FileWriter::write ('/ ' , '' );
4439 }
4540
You can’t perform that action at this time.
0 commit comments