Gert de Pagter
Gert de Pagter
@TysonAndre Are you sure you are on version `1.11.0`? #260 is included in that
Great, i'm gonna close this issue then.
I'd love a way to 'generically' support 'not', 'or' and even 'and' types of assertions, but thats currently not possible with this package. I'd love to see ideas that would...
ctype is funny in that it just returns false if the entered value is not a string. Even an object that could be cast to a string is not. So...
This library could provide a custom exception without it being a BC break. The custom exception would just have to extend `InvalidArgumentException`.
I'd love to see this for this package, but i'm not sure how to go about that without a BC break. If you can create a PR that would allow...
This seems like a really specific use case, and not something that should be part of this project.
You could solve this with a try catch, instead of using it within an if statement. The following class would also do the trick. It hints the IDE through the...
I've played around with the idea of lazy/combined assertions, in a style like this: ```php Assert::either( Type::string(), Type::null() )($input); ``` I put something together here https://github.com/BackEndTea/Assert but its not a...
Haven't ran into this myself yet, but if youre willing to provide a PR, that would be great, thanks