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
i don´t know, but i guess i shouldn't get a recommendation for a deprecated function
Environment details
PhpStorm 2020.1.1 Preview
Build #PS-201.7223.29, built on April 20, 2020
Runtime version: 11.0.6+8-b765.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
phpunit/phpunit: 9.0.1
The text was updated successfully, but these errors were encountered:
@michabbb: so, after deep dive I'm pretty sure that my plugin suggests correct replacement which doesn't change behaviour. The suggestion from PhpStorm is probably incorrect, so probably it worth filing a bug in JetBrains bug-tracker.
phpstorm no longer gives me a warning, because my haystack is no longer a string.
so i´m sure, you have overseen this situation here: phpstorm is 100% right and based on the parameters, you are offering a "deprecated" function, which is not helpful 😏
Snap, thank you for more input @michabbb. I limited the behavior so it appears only for PhpUnit below v9.0. PhpStorm will take care of migration according to your feedback.
Current behaviour
if i follow this suggestion, i end up here:
where phpstorm says: it´s deprecated
Expected behaviour
i don´t know, but i guess i shouldn't get a recommendation for a deprecated function
Environment details
PhpStorm 2020.1.1 Preview
Build #PS-201.7223.29, built on April 20, 2020
Runtime version: 11.0.6+8-b765.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
phpunit/phpunit: 9.0.1
The text was updated successfully, but these errors were encountered: