I use to create my classes like this, with an extra blank line after the closing } (here line 9):
<?php
class myClassName
{
public function index()
{
// my code here
}
}
// here
This helps me to find the functions list when I use my favorite coding tool, notepad++ but i've heard that it can be an error on some PSR validators. Reading the PSR-2 coding style guide, I don't find anything about this one.
Does this cause errors in validators?