Skip to content

Commit 52142ee

Browse files
committed
Rename Plugin to QueuePlugin
1 parent 23da00f commit 52142ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Plugin.php renamed to src/QueuePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* Plugin for Queue
3333
*/
34-
class Plugin extends BasePlugin
34+
class QueuePlugin extends BasePlugin
3535
{
3636
/**
3737
* Plugin name.

tests/TestCase/PluginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
namespace Cake\Queue\Test\TestCase;
55

66
use Cake\Core\Configure;
7-
use Cake\Queue\Plugin;
87
use Cake\Queue\QueueManager;
8+
use Cake\Queue\QueuePlugin;
99
use Cake\TestSuite\TestCase;
1010
use InvalidArgumentException;
1111
use TestApp\Application;
@@ -22,7 +22,7 @@ public function testBootstrapNoConfig()
2222
$this->expectException(InvalidArgumentException::class);
2323
$this->expectExceptionMessage('Missing `Queue` configuration key, please check the CakePHP Queue documentation to complete the plugin setup');
2424
Configure::delete('Queue');
25-
$plugin = new Plugin();
25+
$plugin = new QueuePlugin();
2626
$app = $this->getMockBuilder(Application::class)->disableOriginalConstructor()->getMock();
2727
$plugin->bootstrap($app);
2828
}
@@ -40,7 +40,7 @@ public function testBootstrapWithConfig()
4040
'logger' => 'stdout',
4141
];
4242
Configure::write('Queue', ['default' => $queueConfig]);
43-
$plugin = new Plugin();
43+
$plugin = new QueuePlugin();
4444
$app = $this->getMockBuilder(Application::class)->disableOriginalConstructor()->getMock();
4545
$plugin->bootstrap($app);
4646
$queueConfig['url'] = [

0 commit comments

Comments
 (0)