Convert the following to ternary:
Find
$GLOBALS["Title"] ??= $page->Title; // Title
and replace
$GLOBALS["Title"] = $GLOBALS["Title"] ?: $page->Title;
Find
$GLOBALS["Conn"] ??= $this->getConnection();
and replace
$GLOBALS["Conn"] = $GLOBALS["Conn"] ?: $this->getConnection();