src/PHPCoverFish/Common/CoverFishOutput.php
private function writeFinalCheckResults(CoverFishResult $coverFishResult)
    {
        if (false === $this->scanFailure) {
            $this->writeFileResult(self::FILE_PASS, null);
        } else {
            $this->writeFileResult(self::FILE_FAILURE, $coverFishResult->getFailureStream());
        }

        $this->jsonResults[] = $this->jsonResult;
    }
private function writeFinalCheckResults(CoverFishResult $coverFishResult)
    {
        if (false === $this->scanFailure) {
            $this->writeFileResult(self::FILE_PASS, null);
        } else {
            $this->writeFileResult(self::FILE_FAILURE, $coverFishResult->getFailureStream());
        }

        $this->jsonResults[] = $this->jsonResult;
    }
private function writeFinalCheckResults ( CoverFishResult $ coverFishResult ) { if ( false === $ this -> scanFailure ) { $ this -> writeFileResult ( self :: FILE_PASS , null ) ; } else { $ this -> writeFileResult ( self :: FILE_FAILURE , $ coverFishResult -> getFailureStream ( ) ) ; } $ this -> jsonResults [ ] = $ this -> jsonResult ; }
write single file check result

@param CoverFishResult $coverFishResult
write single file check result