Open
Description
Extracted from #1
Sniff code:
$method:
you are presuming a code style. Best practice sniffs should be code style agnostic.
While not very common, this will break on:public function // some comment functionName() {}
Analyzer code:
$nextToken
inisIncrementingToken()
is not code style agnostic.
I am bad with parsers and have no idea how to approach it, so this might take a while. 😅