phparkitect / arkitect

Put your architectural rules under test!
MIT License
703 stars 36 forks source link

Support for checking the namespace exactly #406

Open dkarlovi opened 1 year ago

dkarlovi commented 1 year ago

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Currently (AFAIK) the only way to verify namespaces is ResidesInTheseNamespaces which is always recursive. There's use cases where we want to check the namespace exactly, for example App\Entity, not App\Entity\Whatever.