aperta-principium/Interclip

View on GitHub
includes/components/get.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to instance property connect_error from undeclared class \mysqli
Open

      die("Connection failed: " . $conn->connect_error);
Severity: Minor
Found in includes/components/get.php by phan

Call to method prepare from undeclared class \mysqli
Open

    $stmt = $conn->prepare('SELECT * FROM userurl WHERE usr = ?');
Severity: Critical
Found in includes/components/get.php by phan

Reference to instance property connect_error from undeclared class \mysqli
Open

    if ($conn->connect_error) {
Severity: Minor
Found in includes/components/get.php by phan

Call to method close from undeclared class \mysqli
Open

    $conn->close();
Severity: Critical
Found in includes/components/get.php by phan

Call to method __construct from undeclared class \mysqli
Open

    $conn = new mysqli($_ENV['DB_SERVER'], $_ENV['USERNAME'], $_ENV['PASSWORD'], $_ENV['DB_NAME']);
Severity: Critical
Found in includes/components/get.php by phan

There are no issues that match your filters.

Category
Status