Skip to content

Commit 581e561

Browse files
committed
fix rector
1 parent c185d26 commit 581e561

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/_support/Commands/TasksTest.php renamed to tests/_support/Commands/TasksExample.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
/**
2020
* @internal
2121
*/
22-
final class TasksTest extends BaseCommand
22+
final class TasksExample extends BaseCommand
2323
{
2424
protected $group = 'Testing';
25-
protected $name = 'tasks:test';
26-
protected $description = 'Tests Tasks';
27-
protected $usage = 'tasks:test';
25+
protected $name = 'tasks:example';
26+
protected $description = 'Tests Example';
27+
protected $usage = 'tasks:example';
2828

2929
public function run(array $params = [])
3030
{

tests/unit/TaskTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ public function testGetType()
9090

9191
public function testCommandRunsCommand()
9292
{
93-
$task = new Task('command', 'tasks:test');
93+
$task = new Task('command', 'tasks:example');
9494

9595
$task->run();
9696

9797
$this->assertStringContainsString(
9898
'Commands can output text.',
99-
$this->getBuffer()
99+
$this->getBuffer(),
100100
);
101101
}
102102

0 commit comments

Comments
 (0)