Skip to content

Commit

Permalink
fix(ci): php-cs-fixer run
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBellyDev committed Jan 5, 2024
1 parent d54c56d commit 7a121e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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);
}
}
}

0 comments on commit 7a121e3

Please sign in to comment.