DataSift\Storyplayer\Reports\TapReport::writeNotOkay PHP Method

writeNotOkay() protected method

protected writeNotOkay ( resource $fp, integer $storyCounter, Story_Result $storyResult, string $reason ) : void
$fp resource
$storyCounter integer
$storyResult DataSift\Storyplayer\PlayerLib\Story_Result
$reason string
return void
    protected function writeNotOkay($fp, $storyCounter, Story_Result $storyResult, $reason)
    {
        fwrite($fp, 'not ok ' . $storyCounter . ' - ' . $reason . ': ' . $storyResult->story->getName() . PHP_EOL);
    }