Skip to content

Instantly share code, notes, and snippets.

@zgabievi
Created January 19, 2016 15:44
Show Gist options
  • Save zgabievi/28692a7a7569210ce869 to your computer and use it in GitHub Desktop.
Save zgabievi/28692a7a7569210ce869 to your computer and use it in GitHub Desktop.
artisan edit for Laravel 5.2
if(isset($argv[1]) && $argv[1] == 'list' && isset($argv[2]) && $argv[2] == '--xml') {
$argv[2] = '--format=xml';
$_SERVER['argv'] = $argv;
}
if (isset($argv[1]) && $argv[1] === '-V') {
die('Symfony version 3.0.0');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment