Skip to content

Commit

Permalink
Update tests/Smoke/PharTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Jan 18, 2022
1 parent 872c601 commit 73b0627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Smoke/PharTest.php
Expand Up @@ -56,7 +56,7 @@ public static function setUpBeforeClass(): void
public function testVersion(): void
{
static::assertMatchesRegularExpression(
sprintf("/^PHP CS Fixer (?<version>%s)(?<git_sha> \\([a-z0-9]+\\))?(?<codename> %s){%d}(?<by> by .*)\nPHP runtime: (?<php_version>\\d\\.\\d+\\..*)$/", Application::VERSION, Application::VERSION_CODENAME, (bool) Application::VERSION_CODENAME),
sprintf("/^PHP CS Fixer (?<version>%s)(?<git_sha> \\([a-z0-9]+\\))?(?<codename> %s){%d}(?<by> by .*)\nPHP runtime: (?<php_version>\\d\\.\\d+\\..*)$/", Application::VERSION, Application::VERSION_CODENAME, Application::VERSION_CODENAME ? 1 : 0),
self::executePharCommand('--version')->getOutput()
);
}
Expand Down

0 comments on commit 73b0627

Please sign in to comment.