From 73b0627ef6d7cefcc0fea32d070f120c63baad3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20Rumi=C5=84ski?= Date: Tue, 18 Jan 2022 12:48:19 +0100 Subject: [PATCH] Update tests/Smoke/PharTest.php --- tests/Smoke/PharTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Smoke/PharTest.php b/tests/Smoke/PharTest.php index 18a2a46d339..e4fcb696ede 100644 --- a/tests/Smoke/PharTest.php +++ b/tests/Smoke/PharTest.php @@ -56,7 +56,7 @@ public static function setUpBeforeClass(): void public function testVersion(): void { static::assertMatchesRegularExpression( - sprintf("/^PHP CS Fixer (?%s)(? \\([a-z0-9]+\\))?(? %s){%d}(? by .*)\nPHP runtime: (?\\d\\.\\d+\\..*)$/", Application::VERSION, Application::VERSION_CODENAME, (bool) Application::VERSION_CODENAME), + sprintf("/^PHP CS Fixer (?%s)(? \\([a-z0-9]+\\))?(? %s){%d}(? by .*)\nPHP runtime: (?\\d\\.\\d+\\..*)$/", Application::VERSION, Application::VERSION_CODENAME, Application::VERSION_CODENAME ? 1 : 0), self::executePharCommand('--version')->getOutput() ); }