ImpressCMS/impresscms

View on GitHub
htdocs/image.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to static property logger from undeclared class \icms
Open

icms::$logger->disableLogger();
Severity: Critical
Found in htdocs/image.php by phan

Call to method handler from undeclared class \icms
Open

$images = icms::handler("icms_image")->getObjects($criteria, FALSE, TRUE);
Severity: Critical
Found in htdocs/image.php by phan

TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
Open

$images = icms::handler("icms_image")->getObjects($criteria, FALSE, TRUE);
Severity: Minor
Found in htdocs/image.php by phpcodesniffer

TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
Open

if (count($images) == 1 && $images[0]->getVar("image_body") !== NULL) {
Severity: Minor
Found in htdocs/image.php by phpcodesniffer

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

$images = icms::handler("icms_image")->getObjects($criteria, FALSE, TRUE);
Severity: Minor
Found in htdocs/image.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in htdocs/image.php by phpcodesniffer

There are no issues that match your filters.

Category
Status