You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
exclude-namespaces matches namespaces that only contain the excluded name #1264
exclude-namespaces matches a name anywhere inside the namespace, not only the namespace itself and its sub-namespaces. NamespaceRegistry::isRegisteredNamespace() uses str_contains(), so excluding Psr also excludes Nyholm\Psr7, and excluding Acme excludes Foo\AcmeBar.
With nyholm/psr7 installed, Nyholm\Psr7\Factory\Psr17Factory stays unprefixed while the PSR interfaces are excluded as expected. The docblock and the docs say a name excludes the namespace and its sub-namespaces, so I'd expect Nyholm\Psr7 to be prefixed.
Activity