Skip to content

Commit 79eaa30

Browse files
committed
CS
1 parent d595b3e commit 79eaa30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/CommandlineTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public static function versionCases(): iterable
8989
public function testVersionDefault(string $args, string $expectedVersion): void
9090
{
9191
$fixture = $this->fixture('Explicit310.php');
92-
$cmd = __DIR__ . '/../bin/openapi --bootstrap ' . $fixture . " $args " . escapeshellarg($fixture);
92+
$cmd = __DIR__ . '/../bin/openapi --bootstrap ' . $fixture . " {$args} " . escapeshellarg((string) $fixture);
9393
exec($this->getCommandToExecute($cmd, '2>'), $output, $retval);
9494
$this->assertSame(0, $retval, $cmd . PHP_EOL . implode(PHP_EOL, $output));
95-
$this->assertStringContainsString("openapi: $expectedVersion", implode(PHP_EOL, $output));
95+
$this->assertStringContainsString("openapi: {$expectedVersion}", implode(PHP_EOL, $output));
9696
}
9797
}

0 commit comments

Comments
 (0)