Skip to content

Commit bc56a99

Browse files
committed
Fixing DI classes name too
1 parent 69634df commit bc56a99

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

DependencyInjection/TdbmGraphqlCompilerPass.php renamed to DependencyInjection/TheCodingMachineTdbmGraphqlCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
/**
4242
* Detects controllers and types automatically and tag them.
4343
*/
44-
class TdbmGraphqlCompilerPass implements CompilerPassInterface
44+
class TheCodingMachineTdbmGraphqlCompilerPass implements CompilerPassInterface
4545
{
4646
/**
4747
* This Compiler pass adds the GraphQLTypeAnnotator to TDBM configuration

DependencyInjection/TdbmGraphqlExtension.php renamed to DependencyInjection/TheCodingMachineTdbmGraphqlExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Symfony\Component\DependencyInjection\Extension\Extension;
1010
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
1111

12-
class TdbmGraphqlExtension extends Extension
12+
class TheCodingMachineTdbmGraphqlExtension extends Extension
1313
{
1414

1515
/**

TheCodingMachineTdbmGraphqlBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
77
use Symfony\Component\DependencyInjection\ContainerBuilder;
88
use Symfony\Component\HttpKernel\Bundle\Bundle;
9-
use TheCodingMachine\Tdbm\Graphql\Bundle\DependencyInjection\TdbmGraphqlCompilerPass;
9+
use TheCodingMachine\Tdbm\Graphql\Bundle\DependencyInjection\TheCodingMachineTdbmGraphqlCompilerPass;
1010

1111
class TheCodingMachineTdbmGraphqlBundle extends Bundle
1212
{
1313
public function build(ContainerBuilder $container)
1414
{
1515
parent::build($container);
1616

17-
$container->addCompilerPass(new TdbmGraphqlCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
17+
$container->addCompilerPass(new TheCodingMachineTdbmGraphqlCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
1818
}
1919
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"php-coveralls/php-coveralls": "^2.1"
3232
},
3333
"scripts": {
34-
"phpstan": "phpstan analyse TdbmGraphqlBundle.php DependencyInjection/ Resources/ -c phpstan.neon --level=7 --no-progress"
34+
"phpstan": "phpstan analyse TheCodingMachineTdbmGraphqlBundle.php DependencyInjection/ Resources/ -c phpstan.neon --level=7 --no-progress"
3535
},
3636
"autoload" : {
3737
"psr-4" : {

0 commit comments

Comments
 (0)