src/package/Data/Repositories/Support/Helpers.php
protected function createLinkToEditFile($test, $fileName, $line, $occurrence)
    {
        if (!$this->fileExistsOnTest($fileName, $test)) {
            return $line[$occurrence];
        }

        $fileName = base64_encode($fileName);

        $tag = sprintf(
            '<a href="javascript:jQuery.get(\'%s\');" class="file">%s</a>',
            route(
                'tests-watcher.file.edit',
                [
                    'filename' => $fileName,
                    'suite_id' => $test->suite->id,
                    'line'     => $line[2],
                ]
            ),
            $line[$occurrence]
        );

        return $tag;
    }
protected function createLinkToEditFile($test, $fileName, $line, $occurrence)
    {
        if (!$this->fileExistsOnTest($fileName, $test)) {
            return $line[$occurrence];
        }

        $fileName = base64_encode($fileName);

        $tag = sprintf(
            '<a href="javascript:jQuery.get(\'%s\');" class="file">%s</a>',
            route(
                'tests-watcher.file.edit',
                [
                    'filename' => $fileName,
                    'suite_id' => $test->suite->id,
                    'line'     => $line[2],
                ]
            ),
            $line[$occurrence]
        );

        return $tag;
    }
protected function createLinkToEditFile ( $ test , $ fileName , $ line , $ occurrence ) { if ( ! $ this -> fileExistsOnTest ( $ fileName , $ test ) ) { return $ line [ $ occurrence ] ; } $ fileName = base64_encode ( $ fileName ) ; $ tag = sprintf ( '<a href="javascript:jQuery.get(\'%s\');" class="file">%s</a>' , route ( 'tests-watcher.file.edit' , [ 'filename' => $ fileName , 'suite_id' => $ test -> suite -> id , 'line' => $ line [ 2 ] , ] ) , $ line [ $ occurrence ] ) ; return $ tag ; }
Create link to call the editor for a file.

@param $test
@param $fileName
@param $line
@param $occurrence

@return string
Create link to call the editor for a file .