We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dd4c52 commit 5548502Copy full SHA for 5548502
tests/Unit/BasicTest.php
@@ -93,7 +93,8 @@ public function too_many_total_throw()
93
/** @test */
94
public function reported_instead_of_thrown()
95
{
96
- $handler = new class {
+ $handler = new class
97
+ {
98
public $reported;
99
100
public function report(Throwable $e)
@@ -242,12 +243,11 @@ public function handles_errors_as_well_as_exceptions()
242
243
$result = Flaky::make(__FUNCTION__)
244
->allowFailuresFor(10)
245
->run(function () {
- strlen("test", "extra");
246
+ strlen('test', 'extra');
247
});
248
249
$this->assertEquals(true, $result->failed);
250
}
-
251
252
253
class SpecificException extends \Exception
0 commit comments