code analysis - Are there different sets of PhpStorm inspection rules, for example for different versions of PHP? -


i totally new phpstorm. imported existing code via "new project existing files", , set scope ignore third party libraries, *.bak files, , such. went file / settings / languages & frameworks / php, , set "php language level" current project 5.3 (which unfortunately appropriate level server production code running).

then did "inspect code". bunch of warnings came up. expected, had never used phpstorm before. clicked on of them more or less randomly, , caught eye:

function mysql_error deprecated.

function mysql_error not deprecated. well, mean, is, of course, deprecated as of version 5.5 of php. using earlier version of php, , thought had explained fact phpstorm (via "php language level" setting).

maybe can rid of mysql_error in php 5.3, don't know yet, example. main concern seems there billion inspection warnings due issues - i.e. due fact inspection engine seems think have access higher version of php do. there way specify different ruleset, appropriate version of php i'm using?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -