Skip to content

Commit 9811689

Browse files
committed
Fix issue in Github action 8 - related to different symfony/yaml version
1 parent e05cbd0 commit 9811689

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/spec/PathTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ public function testPathParametersAreArrays()
228228

229229
if (static::majorSymfonyYamlVersion() == 6) {
230230
$expected = "{$dirSep}data{$dirSep}issue{$dirSep}155/compiled-symfony-6.yml";
231+
if (version_compare(PHP_VERSION, '8.1', '>=')) {
232+
$expected = "{$dirSep}data{$dirSep}issue{$dirSep}155/compiled-symfony-7.yml";
233+
}
231234
} elseif (static::majorSymfonyYamlVersion() == 5) {
232235
$expected = "{$dirSep}data{$dirSep}issue{$dirSep}155/compiled-symfony-5.yml";
233236
}

0 commit comments

Comments
 (0)