1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

fix several warnings reported by phpstan

This commit is contained in:
Andrew Dolgov
2021-02-06 17:19:07 +03:00
parent ce2335deaf
commit b6e1a5c91a
7 changed files with 55 additions and 51 deletions
+2 -2
View File
@@ -81,7 +81,7 @@
}
function sanity_check($db_type) {
function installer_sanity_check($db_type) {
$errors = array();
if (version_compare(PHP_VERSION, '7.0.0', '<')) {
@@ -278,7 +278,7 @@
<h2>Checking configuration</h2>
<?php
$errors = sanity_check($DB_TYPE);
$errors = installer_sanity_check($DB_TYPE);
if (count($errors) > 0) {
print "<p>Some configuration tests failed. Please correct them before continuing.</p>";