<?php
require __DIR__ . '/source/tests/bootstrap.php';
set_error_handler(function ($errno, $message, $file, $line) {
    if ($errno === E_DEPRECATED || $errno === E_USER_DEPRECATED) return true;
    return \think\Error::appError($errno, $message, $file, $line);
});
