Woody Gilk

Results 117 comments of Woody Gilk

Will need to think about this one some more. I use a variety of custom messages, but generally I format the custom message before passing it to `Assert::foo`. Maybe #221...

I think that Assert should be used _inside_ the `createCustomer` method: ```php public function createCustomer(mixed $firstName, mixed $lastName): void { Assert::stringNotEmpty($firstName); Assert::stringNotEmpty($lastName); // And then database write, or whatever }...

While I like this idea, it is very hard to implement with full static analysis. Or at least, I am not smart enough to understand how to correctly designate the...

The current master branch is for version 2.0, which is unreleased and accepting BC breaking changes. Feel free to submit a PR with these changes.

@kkevindev the minimum PHP version has already been bumped to PHP 8.2 for v2.

I think there are better regex wrappers that check for failures, such as: - https://packagist.org/packages/composer/pcre - https://packagist.org/packages/rawr/t-regx - and others... Calling a function with `@` suppression is a style I...

My suggestion for those alternative packages was for your own code, not to be used with this project.