Last active
October 22, 2017 01:49
-
-
Save AdrienPoupa/a0755f1ab297670fca935ad3581633bd to your computer and use it in GitHub Desktop.
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
Laravel | |
Replace old-style $_GET and $_POST by $request->input | |
Search: \$_POST\['(\w*)'] | |
Replace: \$request->input('$1') | |
Replace isset(...) by $request->has | |
Search: isset\(\$_POST\['(\w*)']\) | |
Replace: \$request->has('$1') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment