Skip to content

PHP 8.5: use a colon after case "PATCH" in WAC - #71

Open
chefboyrdave21 wants to merge 1 commit into
pdsinterop:mainfrom
smilinTux:fix/php85-case-semicolon
Open

chefboyrdave21 wants to merge 1 commit into
pdsinterop:mainfrom
smilinTux:fix/php85-case-semicolon

Conversation

@chefboyrdave21

Copy link
Copy Markdown

PHP 8.5 deprecates a case statement followed by a semicolon (case "PATCH"; in WAC::getRequestedGrants()). With convertDeprecationsToExceptions enabled, any test that loads WAC fails on PHP 8.5, and in production every request logs a deprecation. Related: pdsinterop/solid-nextcloud#222.

One character: ; becomes :.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant