smortexa/laravel-arkitect

'*Exception|Handler' is not a valid class or namespace pattern

Closed this issue ยท 7 comments

'*Exception|Handler' is not a valid class or namespace pattern. Regex are not allowed, only * and ? wildcard.

Hello! There is a ๐Ÿž

https://github.com/phparkitect/arkitect/search?q=HaveNameMatching

->should(new HaveNameMatching('*Exception|Handler'))

The file: app/Exceptions/Handler.php

What do you think?

Thank you.

@fain182 How would you express the above "or" relation in class names?

I think there is no way to do it, I created an issue regarding this.

@smortexa New feature added to PHPArkitect.
Could you fix this issue?

Yes, I will.

Fixed in latest release (v0.6.0).