What's Changed
- Allow to exclude some namespaces in NotDependsOnTheseNamespaces and DependsOnlyOnTheseNamespaces by @micheleorselli in #501
This is a BC Break, you must update any usage of DependsOnlyOnTheseNamespaces
and NotDependsOnTheseNamespaces
to remove the usage of variadic arg:
before:
new DependsOnlyOnTheseNamespaces('App\Domain', 'App\Infrastructure')
new NotDependsOnTheseNamespaces('App\Domain', 'App\Infrastructure')
after:
new DependsOnlyOnTheseNamespaces(['App\Domain', 'App\Infrastructure'])
new NotDependsOnTheseNamespaces(['App\Domain', 'App\Infrastructure'])
Full Changelog: 0.5.5...0.6.0