8000 [9.x] Handle Symfony defaultName deprecation by driesvints · Pull Request #41555 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[9.x] Handle Symfony defaultName deprecation #41555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
wip
  • Loading branch information
driesvints committed Mar 18, 2022
commit a9cf8423b94d4ebffe8c2d75195f5b7b7a45350c
13 changes: 13 additions & 0 deletions src/Illuminate/Database/Console/WipeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Input\InputOption;

#[AsCommand(name: 'db:wipe')]
class WipeCommand extends Command
{
use ConfirmableTrait;
Expand All @@ -17,6 +19,17 @@ class WipeCommand extends Command
*/
protected $name = 'db:wipe';

/**
* The name of the console command.
*
* This name is used to identify the command during lazy loading.
*
* @var string|null
*
* @deprecated
*/
protected static $defaultName = 'db:wipe';

/**
* The console command description.
*
Expand Down
0