I am currently working on an old project that requires a switch to PHP 5.5 from 5.3
I found out that it is possible for PhpStorm to detect all obsolete function calls within the project (according to Find all obsolete usage in the project ) and to some extent seems to work very well.
However , it does not seem to place the legacy mysql method calls (which we have quite a lot) now. At first I thought it was a problem with the PHP version, but I checked the settings and PhpStorm is configured to use 5.5
The only thing I can find to explain this is that when I press Ctrl + click on the mysql function, the phpDoc block for this method does not have the @deprecated attribute.
function mysql_close ($link_identifier = null) {}
:
// Start of mysql v.1.0
// @deprecated in 5.5 entire extension is deprecated in favour of mysqli
PhpStorm , ?
. Mysql , , ?