Empty line between class/method and it's PHPDoc should be reported as error. Tricky case if instead of finding /** or */ we'll find } or { then it's ok, because this means, that method has no PHPDoc.
/**
* @expectedException \aik099\QATools\PageObject\Exception\UrlException
* @expectedExceptionCode \aik099\QATools\PageObject\Exception\UrlException::TYPE_INVALID_URL
*/
public function testConstructorMissingProtocol()
{
$builder = new Builder($normalized_components);
}
Empty line between class/method and it's PHPDoc should be reported as error. Tricky case if instead of finding
/**
or*/
we'll find}
or{
then it's ok, because this means, that method has no PHPDoc.