From: Tim Düsterhus Date: Fri, 9 Jun 2023 08:36:55 +0000 (+0200) Subject: Allow PHP 8.3 in CheckSystemEnvironment for testing purposes X-Git-Tag: 6.0.0_Alpha_1~46^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a40fb2597193c0ad687933898f2bc5e208c7044;p=GitHub%2FWoltLab%2FWCF.git Allow PHP 8.3 in CheckSystemEnvironment for testing purposes With the first Alpha of PHP 8.3 now released, compatibility testing can begin and this requires that the frontend is actually available. --- diff --git a/wcfsetup/install/files/lib/http/middleware/CheckSystemEnvironment.class.php b/wcfsetup/install/files/lib/http/middleware/CheckSystemEnvironment.class.php index 525b810791..bdf8b11e5f 100644 --- a/wcfsetup/install/files/lib/http/middleware/CheckSystemEnvironment.class.php +++ b/wcfsetup/install/files/lib/http/middleware/CheckSystemEnvironment.class.php @@ -27,7 +27,7 @@ final class CheckSystemEnvironment implements MiddlewareInterface public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { if (!RequestHandler::getInstance()->isACPRequest()) { - if (!(80100 <= \PHP_VERSION_ID && \PHP_VERSION_ID <= 80299)) { + if (!(80100 <= \PHP_VERSION_ID && \PHP_VERSION_ID <= 80300)) { return new HtmlResponse( (new HtmlErrorRenderer())->render( WCF::getLanguage()->getDynamicVariable('wcf.global.error.title'),