Skip to content

Commit

Permalink
Merge pull request #102 from badges/fix/php-cs-fixer-run
Browse files Browse the repository at this point in the history
fix(ci): php-cs-fixer run
  • Loading branch information
JellyBellyDev committed Jan 5, 2024
2 parents d54c56d + 7a121e3 commit 5bdeee9
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 5bdeee9

Please sign in to comment.