Allow PHP 8.3 in CheckSystemEnvironment for testing purposes
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 9 Jun 2023 08:36:55 +0000 (10:36 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 9 Jun 2023 08:36:55 +0000 (10:36 +0200)
With the first Alpha of PHP 8.3 now released, compatibility testing can begin
and this requires that the frontend is actually available.

wcfsetup/install/files/lib/http/middleware/CheckSystemEnvironment.class.php

index 525b810791a797c2bb2266243b4deba6929db209..bdf8b11e5f5a99eec04d40267eff44c3de27dda1 100644 (file)
@@ -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'),