Skip to content

Commit b7c7751

Browse files
author
Yann Eugoné
committed
Moved Bundle namespace in favor of self named package
1 parent f188ed4 commit b7c7751

27 files changed

+61
-62
lines changed

DependencyInjection/CompilerPass/CollectEnumCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\DependencyInjection\CompilerPass;
3+
namespace EnumBundle\DependencyInjection\CompilerPass;
44

55
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
66
use Symfony\Component\DependencyInjection\ContainerBuilder;

DependencyInjection/OctoEnumExtension.php renamed to DependencyInjection/EnumExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\DependencyInjection;
3+
namespace EnumBundle\DependencyInjection;
44

55
use Symfony\Component\Config\FileLocator;
66
use Symfony\Component\DependencyInjection\ContainerBuilder;

Enum/AbstractTranslatedEnum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Enum;
3+
namespace EnumBundle\Enum;
44

5-
use Octo\EnumBundle\Exception\InvalidTranslatePatternException;
5+
use EnumBundle\Exception\InvalidTranslatePatternException;
66
use Symfony\Component\Translation\TranslatorInterface;
77

88
/**

Enum/EnumInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Enum;
3+
namespace EnumBundle\Enum;
44

55
/**
66
* @author Yann Eugoné <[email protected]>

OctoEnumBundle.php renamed to EnumBundle.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace Octo\EnumBundle;
3+
namespace EnumBundle;
44

5-
use Octo\EnumBundle\DependencyInjection\CompilerPass\CollectEnumCompilerPass;
5+
use EnumBundle\DependencyInjection\CompilerPass\CollectEnumCompilerPass;
66
use Symfony\Component\DependencyInjection\ContainerBuilder;
77
use Symfony\Component\HttpKernel\Bundle\Bundle;
88

99
/**
1010
* @author Yann Eugoné <[email protected]>
1111
*/
12-
class OctoEnumBundle extends Bundle
12+
class EnumBundle extends Bundle
1313
{
1414
/**
1515
* {@inheritdoc}

Exception/DuplicatedEnumException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Exception;
3+
namespace EnumBundle\Exception;
44

55
/**
66
* @author Yann Eugoné <[email protected]>

Exception/InvalidEnumException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Exception;
3+
namespace EnumBundle\Exception;
44

55
/**
66
* @author Yann Eugoné <[email protected]>

Exception/InvalidTranslatePatternException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Exception;
3+
namespace EnumBundle\Exception;
44

55
/**
66
* @author Yann Eugoné <[email protected]>

Form/Type/EnumType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Form\Type;
3+
namespace EnumBundle\Form\Type;
44

5-
use Octo\EnumBundle\Registry\EnumRegistryInterface;
5+
use EnumBundle\Registry\EnumRegistryInterface;
66
use Symfony\Component\Form\AbstractType;
77
use Symfony\Component\OptionsResolver\Options;
88
use Symfony\Component\OptionsResolver\OptionsResolver;

Registry/EnumRegistry.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Octo\EnumBundle\Registry;
3+
namespace EnumBundle\Registry;
44

5-
use Octo\EnumBundle\Enum\EnumInterface;
6-
use Octo\EnumBundle\Exception\DuplicatedEnumException;
7-
use Octo\EnumBundle\Exception\InvalidEnumException;
5+
use EnumBundle\Enum\EnumInterface;
6+
use EnumBundle\Exception\DuplicatedEnumException;
7+
use EnumBundle\Exception\InvalidEnumException;
88

99
/**
1010
* @author Yann Eugoné <[email protected]>

0 commit comments

Comments
 (0)