Skip to content

Commit 711a28e

Browse files
author
Kirill Nesmeyanov
committed
Fix tests
1 parent 49e21e1 commit 711a28e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: '0 0 * * 0'
88

99
jobs:
1010
security:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: '0 0 * * 0'
88

99
jobs:
1010
tests:

tests/Unit/SimplePrintTypesTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ public static function prettyPrintableTypesDataProvider(): iterable
170170
#[DataProvider('prettyPrintableTypesDataProvider')]
171171
public function testPrettyPrinting(TypeStatement $stmt, string $expected): void
172172
{
173-
$printer = new PrettyPrinter();
173+
$printer = new PrettyPrinter(
174+
wrapUnionType: false,
175+
);
174176
175177
self::assertSame($expected, $printer->print($stmt));
176178
}

0 commit comments

Comments
 (0)