Kanti/htmly-installer

View on GitHub

Showing 765 of 765 total issues

Visibility must be declared on property "$temp"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Method name "_unpack" should not be prefixed with an underscore to indicate visibility
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Visibility must be declared on method "extractFile"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Visibility must be declared on method "_unpack"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Method name "_removeTmpFiles" should not be prefixed with an underscore to indicate visibility
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: php
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Visibility must be declared on method "_removeTmpFiles"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

PHP keywords must be lowercase; expected "__halt_compiler" but found "__HALT_COMPILER"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Visibility must be declared on method "tmpdir"
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: <?php if ($version !== null) : ?>
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: <?php endif; ?>
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: <?php echo $version['html_url']; ?>" targe...
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: <?php else : ?>
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Possible use of short open tags detected; found: php
Open

Severity: Minor
Found in htmly-installer.php by phpcodesniffer

Remove error control operator '@' on line 162.
Open

    protected function getTimeZone()
    {
        static $ip;
        if (empty($ip)) {
            $ip = @file_get_contents("http://ipecho.net/plain");
Severity: Minor
Found in src/Settings.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Remove error control operator '@' on line 167.
Open

    protected function getTimeZone()
    {
        static $ip;
        if (empty($ip)) {
            $ip = @file_get_contents("http://ipecho.net/plain");
Severity: Minor
Found in src/Settings.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Remove error control operator '@' on line 167.
Open

Severity: Minor
Found in htmly-installer.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Remove error control operator '@' on line 177.
Open

Severity: Minor
Found in htmly-installer.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Remove error control operator '@' on line 246.
Open

Severity: Minor
Found in htmly-installer.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Remove error control operator '@' on line 167.
Open

    protected function getTimeZone()
    {
        static $ip;
        if (empty($ip)) {
            $ip = @file_get_contents("http://ipecho.net/plain");
Severity: Minor
Found in src/Settings.php by phpmd

ErrorControlOperator

Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

Example

function foo($filePath) {
    $file = @fopen($filPath); // hides exceptions
    $key = @$array[$notExistingKey]; // assigns null to $key
}

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

Severity
Category
Status
Source
Language