thephpleague / uri-schemes

Collection of URI Immutable Value Objects
https://uri.thephpleague.com/schemes/
MIT License
216 stars 7 forks source link

UriException: Namespace missing from extends class. #5

Closed apapsch closed 6 years ago

apapsch commented 6 years ago

https://github.com/thephpleague/uri-schemes/blob/fd2448689186bfff27a112aa21d82931f4b366c5/src/UriException.php#L26

Exception doesn't exist in the current namespace. My quick fix was adding a backslash to Exception.

nyamsprod commented 6 years ago

@apapsch yes Exception exists since this package require Uri-parser and Exception is defined in Uri Parser package see https://github.com/thephpleague/uri-parser/blob/master/src/Exception.php 👍