Skip to content

Commit 87fc516

Browse files
author
Christoph Grabenstein
committed
Renamed Qossmic namspace to OpenSC
1 parent aa0c861 commit 87fc516

File tree

58 files changed

+169
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+169
-169
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Installation
1818
Use Composer to install the bundle:
1919

2020
```bash
21-
$ composer require qossmic/rich-model-forms-bundle
21+
$ composer require open-sc/rich-model-forms-bundle
2222
```
2323

2424
When using Symfony Flex, the bundle will be enabled automatically. Otherwise, you need to make sure that the bundle is

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "qossmic/rich-model-forms-bundle",
2+
"name": "open-sc/rich-model-forms-bundle",
33
"description": "Provides additional data mapper options that ease the use of the Symfony Form component with rich models.",
44
"keywords": ["Symfony", "form", "forms", "bundle", "rich model", "DDD", "domain-driven design"],
55
"type": "symfony-bundle",
@@ -38,12 +38,12 @@
3838
},
3939
"autoload": {
4040
"psr-4": {
41-
"Qossmic\\RichModelForms\\": "src/Qossmic"
41+
"OpenSC\\RichModelForms\\": "src/"
4242
}
4343
},
4444
"autoload-dev": {
4545
"psr-4": {
46-
"Qossmic\\RichModelForms\\Tests\\": "tests"
46+
"OpenSC\\RichModelForms\\Tests\\": "tests"
4747
}
4848
},
4949
"extra": {

docs/mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Alternatively, you can also implement the `PropertyMapperInterface` and fully cu
163163

164164
```php
165165
// ...
166-
use Qossmic\RichModelForms\DataMapper\PropertyMapperInterface;
166+
use OpenSC\RichModelForms\DataMapper\PropertyMapperInterface;
167167

168168
public function buildForm(FormBuilderInterface $builder, array $options): void
169169
{

src/Qossmic/DataMapper/DataMapper.php renamed to src/DataMapper/DataMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\DataMapper;
16+
namespace OpenSC\RichModelForms\DataMapper;
1717

18-
use Qossmic\RichModelForms\ExceptionHandling\FormExceptionHandler;
18+
use OpenSC\RichModelForms\ExceptionHandling\FormExceptionHandler;
1919
use Symfony\Component\Form\DataMapperInterface;
2020
use Symfony\Component\Form\Exception\LogicException;
2121
use Symfony\Component\Form\Exception\UnexpectedTypeException;

src/Qossmic/DataMapper/PropertyMapperInterface.php renamed to src/DataMapper/PropertyMapperInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\DataMapper;
16+
namespace OpenSC\RichModelForms\DataMapper;
1717

1818
/**
1919
* @author Christian Flothmann <[email protected]>

src/Qossmic/DataTransformer/ValueObjectTransformer.php renamed to src/DataTransformer/ValueObjectTransformer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\DataTransformer;
16+
namespace OpenSC\RichModelForms\DataTransformer;
1717

18-
use Qossmic\RichModelForms\ExceptionHandling\ExceptionHandlerRegistry;
19-
use Qossmic\RichModelForms\ExceptionHandling\ExceptionToErrorMapperTrait;
20-
use Qossmic\RichModelForms\Instantiator\ViewDataInstantiator;
18+
use OpenSC\RichModelForms\ExceptionHandling\ExceptionHandlerRegistry;
19+
use OpenSC\RichModelForms\ExceptionHandling\ExceptionToErrorMapperTrait;
20+
use OpenSC\RichModelForms\Instantiator\ViewDataInstantiator;
2121
use Symfony\Component\Form\ButtonBuilder;
2222
use Symfony\Component\Form\DataTransformerInterface;
2323
use Symfony\Component\Form\Exception\TransformationFailedException;

src/Qossmic/DependencyInjection/Compiler/RegisterExceptionHandlersPass.php renamed to src/DependencyInjection/Compiler/RegisterExceptionHandlersPass.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\DependencyInjection\Compiler;
16+
namespace OpenSC\RichModelForms\DependencyInjection\Compiler;
1717

1818
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1919
use Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
@@ -29,16 +29,16 @@ final class RegisterExceptionHandlersPass implements CompilerPassInterface
2929
{
3030
public function process(ContainerBuilder $container): void
3131
{
32-
if (!$container->hasDefinition('qossmic.rich_model_forms.exception_handler.registry')) {
32+
if (!$container->hasDefinition('open-sc.rich_model_forms.exception_handler.registry')) {
3333
return;
3434
}
3535

36-
$exceptionHandlerRegistry = $container->getDefinition('qossmic.rich_model_forms.exception_handler.registry');
36+
$exceptionHandlerRegistry = $container->getDefinition('open-sc.rich_model_forms.exception_handler.registry');
3737

3838
$exceptionHandlers = [];
3939
$strategies = [];
4040

41-
foreach ($container->findTaggedServiceIds('qossmic.rich_model_forms.exception_handler') as $id => $tag) {
41+
foreach ($container->findTaggedServiceIds('open-sc.rich_model_forms.exception_handler') as $id => $tag) {
4242
/** @var class-string $class */
4343
$class = $container->getParameterBag()->resolveValue($container->getDefinition($id)->getClass());
4444
$exceptionHandlers[$id] = new TypedReference($id, $class);

src/Qossmic/DependencyInjection/RichModelFormsExtension.php renamed to src/DependencyInjection/RichModelFormsExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\DependencyInjection;
16+
namespace OpenSC\RichModelForms\DependencyInjection;
1717

1818
use Symfony\Component\Config\FileLocator;
1919
use Symfony\Component\DependencyInjection\ContainerBuilder;

src/Qossmic/ExceptionHandling/ArgumentTypeMismatchExceptionHandler.php renamed to src/ExceptionHandling/ArgumentTypeMismatchExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\ExceptionHandling;
16+
namespace OpenSC\RichModelForms\ExceptionHandling;
1717

1818
use Symfony\Component\Form\FormConfigInterface;
1919
use Symfony\Component\PropertyAccess\Exception\InvalidArgumentException;

src/Qossmic/ExceptionHandling/ChainExceptionHandler.php renamed to src/ExceptionHandling/ChainExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
declare(strict_types = 1);
1515

16-
namespace Qossmic\RichModelForms\ExceptionHandling;
16+
namespace OpenSC\RichModelForms\ExceptionHandling;
1717

1818
use Symfony\Component\Form\FormConfigInterface;
1919

0 commit comments

Comments
 (0)