1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-17 20:01:25 +02:00

Re-enable PHP warnings

This commit is contained in:
Jakub Vrana
2020-12-09 15:09:28 +01:00
parent 190146672f
commit b89d418dcf
4 changed files with 17 additions and 4 deletions

View File

@@ -1,5 +1,10 @@
<?php
error_reporting(6133); // errors
function adminer_errors($errno, $errstr) {
return !!preg_match('~^(Trying to access array offset on value of type null|Undefined array key)~', $errstr);
}
error_reporting(6135); // errors and warnings
set_error_handler('adminer_errors', 2); // 2 - E_WARNING
include "../adminer/include/coverage.inc.php";

View File

@@ -1,2 +1,2 @@
<?php
$VERSION = "4.7.8";
$VERSION = "4.7.9-dev";