According to PSR2, the closing brace of classes should be placed on the next line directly after the body.
Below you find some examples:
// Incorrect placement according to PSR2classMyClass{publicfunctionfoo(){}// This blank line is not allowed.}// CorrectclassMyClass{publicfunctionfoo(){}// No blank lines after this line.}