Skip to content

Remove deprecated function and used new function instead that#5

Open
shital7mahajan wants to merge 1 commit intocountzero:masterfrom
shital7mahajan:master
Open

Remove deprecated function and used new function instead that#5
shital7mahajan wants to merge 1 commit intocountzero:masterfrom
shital7mahajan:master

Conversation

@shital7mahajan
Copy link

@shital7mahajan shital7mahajan commented May 7, 2019

Run Command => $ phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme --runtime-set testVersion 7.2 ImageFlow/

FILE: D:\git\patch\ImageFlow\reflect2.php => WARNING | Function dl() is deprecated since PHP 5.3
FILE: D:\git\patch\ImageFlow\reflect3.php =>

  1. WARNING | Function dl() is deprecated since PHP 5.3
  2. ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
  3. ERROR | Function ereg_replace() is deprecated since PHP 5.3 and removed since PHP 7.0; Use reg_replace() instead

1]Removed deprecated function dl();
2]Replace ereg_replace() with preg_replace().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant