You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New *OrThrow() methods in the Validator class that throw an InvalidUrlComponentException on invalid values, complementing the existing methods which return null (e.g. Validator::schemeOrThrow(), Validator::userOrThrow(), Validator::passwordOrThrow(), Validator::hostOrThrow(), Validator::pathOrThrow(), etc.).
Fixed
Potential issues found with PHPStan 2 on level 8.
Updated lists of public suffixes, schemes and default ports.
Deprecated
Validator::callValidationByComponentName() – This method dynamically dispatches to component-specific validation methods (e.g. callValidationByComponentName('scheme', 'https') => Validator::scheme('https')) and is no longer needed. Call the corresponding validation method directly instead (e.g. Validator::scheme()).