From 7a121e33cd120e9ba9e1ab8bd0466d6cc39eb50e Mon Sep 17 00:00:00 2001 From: Andrea Giannantonio Date: Fri, 5 Jan 2024 15:09:32 +0100 Subject: [PATCH] fix(ci): php-cs-fixer run --- features/bootstrap/FeatureContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index 8d4822f..e7dbf24 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -52,7 +52,7 @@ public function theSameOutputShouldBeLikeTheContentOf($filePath): void public function itShouldPass(): void { if (0 != $this->return) { - throw new \Exception('Error executing ' . $this->return); + throw new Exception('Error executing ' . $this->return); } } @@ -80,7 +80,7 @@ private function assertEquals($given, $expected): void \similar_text($expected, $given, $perc); if ($perc < 94) { - throw new \Exception('String similarity:' . $perc . '%. String expected:' . $expected . \PHP_EOL . ' given:' . $given); + throw new Exception('String similarity:' . $perc . '%. String expected:' . $expected . \PHP_EOL . ' given:' . $given); } } }