Extract Constant displacing doc comments.

I'm having a small, but annoying issue with extract constant. Lets say I have a function:

/**
 * Function docs
 */
public function doSomething()
{
    ...
}

If I use extract constant anywhere in the code it will displace the doc comment this way:

/**
 * Function docs
 */
const SOME_CONST = 'value';

public function doSomething()
{
    ...
}

Is there any setting I can change which would fix this?

0

Please sign in to leave a comment.