PhpStorm: Extract Method - don't pass globals as parameters

Is there anyway to make the "extract function" refactoring not require that global variables are passed as parameters?

2 comments
Comment actions Permalink

Unfortunately, there isn't. Please vote for the feature request: https://youtrack.jetbrains.com/issue/WI-8083

1
Comment actions Permalink

Thanks Eugene!

0

Please sign in to leave a comment.