Hi,
given
abstract class xyz {
abstract function abc();
/**
* Documentation.
*/
function z() {
return;
}
}
Coder review incorrectly prints:
Block comments should not be used within functions
even if we are not "within" a function, but rather within a class outside of a function. This only seems to happen after abstract function declarations.
Comments
Comment #0.0
alberto56 commentedforgot function keyword
Comment #1
klausiCoder 7.x is frozen now and will not receive updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.