From ef3cde619b559e95b32e7aeae6df03a566f3fd17 Mon Sep 17 00:00:00 2001 From: Lumina Date: Sun, 15 Nov 2026 15:42:52 -0500 Subject: [PATCH] Use a colon after case "PATCH" in WAC PHP 8.5 deprecates a case statement followed by a semicolon. With convertDeprecationsToExceptions enabled, every test that loads WAC fails on PHP 8.5, and production logs a deprecation for every request. Co-Authored-By: Claude Opus 5.5 --- src/WAC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WAC.php b/src/WAC.php index 6ead2d6..6243cb9 100644 --- a/src/WAC.php +++ b/src/WAC.php @@ -441,7 +441,7 @@ public function getRequestedGrants($request) { ) ); break; - case "PATCH"; + case "PATCH": $grants = array(); if (!$this->filesystem->fileExists($path)) { $grants[] = array(