[php-src] PR #22217: Fix typo: rename InvalidReverseSoldius to InvalidReverseSolidus in Uri\WhatWg\UrlValidationErrorType

From: Date: Wed, 03 Jun 2026 05:45:46 +0000
Subject: [php-src] PR #22217: Fix typo: rename InvalidReverseSoldius to InvalidReverseSolidus in Uri\WhatWg\UrlValidationErrorType
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36283@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22217 Author: OracleNep Uri\WhatWg\UrlValidationErrorType currently exposes the enum case: `php Uri\WhatWg\UrlValidationErrorType::InvalidReverseSoldius ` This appears to be a typo. The WHATWG URL validation error is invalid-reverse-solidus, and the corresponding Lexbor error constant is LXB_URL_ERROR_TYPE_INVALID_REVERSE_SOLIDUS. This patch updates the enum case and the WHATWG validation error mapping to use: `php Uri\WhatWg\UrlValidationErrorType::InvalidReverseSolidus ` It also adds a PHPT test for the corrected case spelling. Since the misspelled name is already present in PHP 8.5, maintainer guidance may be needed on whether this should target master only, be backported, or preserve compatibility with the old spelling. This is not a security issue. Generated files should be refreshed from ext/uri/php_uri.stub.php.

« previous php.git-pulls (#36283) next »