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
Giving a useless blank line between the keyword "namespace" and the final ";" ending the statement.
Is it possible to fix that?
And please, don't tell me to reconsider my architecture so my namespaces must be shorter, I know that, but I can't do it right now and it must not give style issue to have long names ;).
Thanks a lot.
The text was updated successfully, but these errors were encountered:
gsherwood
changed the title
PSR-2: unhandled too long namespaces
PSR2.Namespaces.NamespaceDeclaration does not handle namespaces defined over multiple lines
Jul 18, 2018
Hi guys,
In the PSR-2 (and so the incomming PSR-12), it is said that it should have a blank line after the namespace declaration.
For very long namespaces (line will get over 120 chars), the Sniff bugs as it declares the following invalid while it actually is:
What is required by the sniff is to do this:
Giving a useless blank line between the keyword "namespace" and the final ";" ending the statement.
Is it possible to fix that?
And please, don't tell me to reconsider my architecture so my namespaces must be shorter, I know that, but I can't do it right now and it must not give style issue to have long names ;).
Thanks a lot.
The text was updated successfully, but these errors were encountered: