Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

Self-assigned variable is not picked up as necessary parameter when extracting method #395

Open Gert-dev opened 6 years ago

Gert-dev commented 6 years ago

If you extract:

$test = $test2->foo();

... $test2 will be added as parameter to the extracted method. However, if you extract:

$test = $test->foo();

... $test is not picked up.