molbiodiv/biom-conversion-server

View on GitHub

Showing 2 of 2 total issues

Missing class import via use statement (line '51', column '23').
Open

            throw new \Exception("Error executing biom command: ".implode("\n", $result)." ".$errorCode);
Severity: Minor
Found in src/biomcs/BiomCS.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Line exceeds 120 characters; contains 130 characters
Open

    echo json_encode(array("error" => "Missing parameter 'content' please send the content to convert as base64 encoded string"));
Severity: Minor
Found in convert.php by phpcodesniffer
Severity
Category
Status
Source
Language