update phpstan to 1.8.2

This commit is contained in:
Andrew Dolgov
2022-07-31 13:55:09 +03:00
parent d5c043e846
commit 26c67dba77
34 changed files with 1442 additions and 859 deletions

View File

@@ -662,7 +662,7 @@ class RSSUtils {
print_r($item);
}
if (ini_get("max_execution_time") > 0 && time() - $tstart >= ini_get("max_execution_time") * 0.7) {
if (ini_get("max_execution_time") > 0 && time() - $tstart >= ((float)ini_get("max_execution_time") * 0.7)) {
Debug::log("looks like there's too many articles to process at once, breaking out.", Debug::LOG_VERBOSE);
$pdo->commit();
break;