Last active
November 2, 2017 09:51
-
-
Save ngugijames/8ed3544d3c7ae9180042b40fc2bc9ddf to your computer and use it in GitHub Desktop.
find L3 log usages and replace with L5 equivalents using PHPStorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Search For: | |
Log::(.*?)\((.*[\(\)]*)\); | |
//Replace with | |
Log::info("$1", $2); | |
// Replaces Log::api_unreachable(..) with something like Log::info("api_unreachable", ..); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment