Ignore smarty4 checks, phan/phpstan fixes

OPEN: resource to resource/object/false check in phpstan
This commit is contained in:
Clemens Schwaighofer
2022-01-20 11:03:58 +09:00
parent f4e72dd7b1
commit 2a697817fd
7 changed files with 95 additions and 46 deletions

View File

@@ -52,9 +52,9 @@ $log = new CoreLibs\Debug\Logging([
'file_id' => LOG_FILE_ID,
'print_file_date' => true,
'per_class' => true,
'debug_all' => $DEBUG_ALL,
'echo_all' => $ECHO_ALL,
'print_all' => $PRINT_ALL,
'debug_all' => $DEBUG_ALL ?? false,
'echo_all' => $ECHO_ALL ?? false,
'print_all' => $PRINT_ALL ?? false,
]);
// automatic hide for DEBUG messages on live server
// can be overridden when setting DEBUG_ALL_OVERRIDE on top of the script