Pest will mark the following test as risky. PHPUnit will mark it as passed.
use Illuminate\Log\Logger;
use Mockery as m;
use Monolog\Logger as Monolog;
test('example', function (): void {
$writer = new Logger($monolog = m::mock(Monolog::class));
$monolog->shouldReceive('error')->once()->with('foo', []);
$writer->error('foo');
});
On it...
Fixed on v0.1.5.
Most helpful comment
Fixed on
v0.1.5.