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
It would be nice if Squiz.WhiteSpace.FunctionSpacing.After would not require a blank line after a method if it is the last method in a class.
class A
{
publicfunctionmethod1()
{
}
publicfunctionmethod2()
{
}
publicfunctionmethod2()
{
}
}
This would be much nicer than enforcing a space after the last method. You could switch it to enforce a space before a method, but then you'd run into the same problem but at the top (assuming no properties).
Request this upstream but if they don't want to do it, implement it ourselves.
The text was updated successfully, but these errors were encountered:
It would be nice if
Squiz.WhiteSpace.FunctionSpacing.After
would not require a blank line after a method if it is the last method in a class.This would be much nicer than enforcing a space after the last method. You could switch it to enforce a space before a method, but then you'd run into the same problem but at the top (assuming no properties).
Request this upstream but if they don't want to do it, implement it ourselves.
The text was updated successfully, but these errors were encountered: