e107inc/e107

View on GitHub
e107_handlers/db_verify_class.php

Summary

Maintainability
A
0 mins
Test Coverage
F
51%

Variable $data is undeclared
Open

            unset($data);
Severity: Minor
Found in e107_handlers/db_verify_class.php by phan

Argument 3 (subject) is ?string but \str_replace() takes array|string
Open

            $ret['engine'][] = str_replace('MYISAM', 'MyISAM', $engine);
Severity: Minor
Found in e107_handlers/db_verify_class.php by phan

Found a return statement with a value in the implementation of the magic method \db_verify::__construct, expected void return type
Open

    function __construct()
Severity: Info
Found in e107_handlers/db_verify_class.php by phan

Variable $fileData was undeclared, but array fields are being added to it.
Open

            $fileData['field']    = $this->getFields($this->sqlFileTables[$selection]['data'][$key]);
Severity: Info
Found in e107_handlers/db_verify_class.php by phan

Call to undeclared method \e_db::isTable
Open

        if(!$sql->isTable($tbl))
Severity: Critical
Found in e107_handlers/db_verify_class.php by phan

Variable $sqlData was undeclared, but array fields are being added to it.
Open

            $sqlData['field']    = $this->getFields($sqlDataArr['data'][0]);
Severity: Info
Found in e107_handlers/db_verify_class.php by phan

array to string comparison
Open

                if($this->errors[$tabs] != 'ok')
Severity: Info
Found in e107_handlers/db_verify_class.php by phan

array to string comparison
Open

                if($this->errors[$tabs] != 'ok')
Severity: Info
Found in e107_handlers/db_verify_class.php by phan

There are no issues that match your filters.

Category
Status