You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename class is not working totally (or partially in case of many usages) when there are at least one test case with @covers annotation.
To reproduce behavior, plase create two classes in SF directory structure like the following:
if there will be short classname @covers SomeService::someMethod will works as expected.
Also it works fine if dynamic usages are excluded (plugin enabled)
Please check and fix.
PhpStorm 2023.1.4
Build #PS-231.9225.18, built on July 13, 2023
Licensed to SIA "ATTA-1" / Vlad Yarus
Subscription is active until November 14, 2023.
Runtime version: 17.0.7+10-b829.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.0-26-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
debugger.watches.in.variables=false
run.processes.with.pty=TRUE
documentation.show.toolbar=true
I observed same issue today. I tried to reinstall plugin, invalidate caches, downgrade PHPstorm, reinstall PHPstorm, nothing helped. Only disabling/uninstall plugin helped.
PhpStorm 2023.3.2
Build #PS-233.13135.108, built on December 21, 2023
Runtime version: 17.0.9+7-b1087.9 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.1.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
run.processes.with.pty=TRUE
Non-Bundled Plugins:
ru.adelf.idea.dotenv (2023.3)
de.espend.idea.php.annotation (9.4.0)
Rename class is not working totally (or partially in case of many usages) when there are at least one test case with
@covers
annotation.To reproduce behavior, plase create two classes in SF directory structure like the following:
and
Next try to rename
SomeService
to something else (Shift+F6). Class (and file) will not be renamed.If plugin is disabled renaming works as expected.
It's related to the following lines:
if there will be short classname
@covers SomeService::someMethod
will works as expected.Also it works fine if dynamic usages are excluded (plugin enabled)
Please check and fix.
PhpStorm 2023.1.4
Build #PS-231.9225.18, built on July 13, 2023
Licensed to SIA "ATTA-1" / Vlad Yarus
Subscription is active until November 14, 2023.
Runtime version: 17.0.7+10-b829.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.0-26-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
debugger.watches.in.variables=false
run.processes.with.pty=TRUE
documentation.show.toolbar=true
Non-Bundled Plugins:
com.kalessil.phpStorm.phpInspectionsEA (5.0.0.0)
ru.adelf.idea.dotenv (2023.1)
de.espend.idea.php.annotation (9.4.0)
fr.adrienbrault.idea.symfony2plugin (2022.1.253)
Current Desktop: X-Cinnamon
The text was updated successfully, but these errors were encountered: