Skip to content

Commit

Permalink
change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidpeywasti committed Aug 7, 2023
1 parent 9e75f34 commit 58ae8a1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
bind:
#$projectDir: '%kernel.project_dir%'

Respinar\ContaoSimpleBlog\:
Respinar\SimpleBlogBundle\:
resource: ../src/
exclude: ../src/{DependencyInjection,Model,Session}

2 changes: 1 addition & 1 deletion contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license MIT
*/

use Respinar\ContaoSimpleBlog\Model\BlogModel;
use Respinar\SimpleBlogBundle\Model\BlogModel;

/**
* Backend modules
Expand Down
2 changes: 1 addition & 1 deletion contao/dca/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT
*/

use Respinar\ContaoSimpleBlog\Controller\FrontendModule\BlogListController;
use Respinar\SimpleBlogBundle\Controller\FrontendModule\BlogListController;

/**
* Frontend modules
Expand Down
2 changes: 1 addition & 1 deletion contao/languages/en/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT
*/

use Respinar\ContaoSimpleBlog\Controller\FrontendModule\BlogListController;
use Respinar\SimpleBlogBundle\Controller\FrontendModule\BlogListController;

/**
* Backend modules
Expand Down
2 changes: 1 addition & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\CoreBundle\ContaoCoreBundle;
use Respinar\ContaoSimpleBlog\RespinarSimpleBlogBundle;
use Respinar\SimpleBlogBundle\RespinarSimpleBlogBundle;

class Plugin implements BundlePluginInterface
{
Expand Down
8 changes: 4 additions & 4 deletions tests/ContaoManager/PluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\DelegatingParser;
use Contao\TestCase\ContaoTestCase;
use Respinar\ContaoSimpleBlog\ContaoManager\Plugin;
use Respinar\ContaoSimpleBlog\RespinarContaoSimpleBlog;
use Respinar\SimpleBlogBundle\ContaoManager\Plugin;
use Respinar\SimpleBlogBundle\RespinarSimpleBlogBundle;

/**
* @package Respinar\ContaoSimpleBlog\Tests\ContaoManager
* @package Respinar\SimpleBlogBundle\Tests\ContaoManager
*/
class PluginTest extends ContaoTestCase
{
Expand All @@ -45,7 +45,7 @@ public function testGetBundles(): void

$this->assertCount(1, $bundles);
$this->assertInstanceOf(BundleConfig::class, $bundles[0]);
$this->assertSame(RespinarContaoSimpleBlog::class, $bundles[0]->getName());
$this->assertSame(RespinarSimpleBlogBundle::class, $bundles[0]->getName());
$this->assertSame([ContaoCoreBundle::class], $bundles[0]->getLoadAfter());
}

Expand Down

0 comments on commit 58ae8a1

Please sign in to comment.