Skip to content

Commit

Permalink
[TASK] Rename extension file (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml authored Nov 23, 2023
1 parent cf12a3c commit 97e25b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ parameters:
-
message: "#^Function phpDocumentor\\\\Guides\\\\DependencyInjection\\\\template not found\\.$#"
count: 5
path: src/DependencyInjection/PhpDomainExtension.php
path: src/DependencyInjection/GuidesPhpDomainExtension.php

-
message: "#^Used function phpDocumentor\\\\Guides\\\\DependencyInjection\\\\template not found\\.$#"
count: 1
path: src/DependencyInjection/PhpDomainExtension.php
path: src/DependencyInjection/GuidesPhpDomainExtension.php

-
message: "#^Method T3Docs\\\\GuidesPhpDomain\\\\Tests\\\\ApplicationTestCase\\:\\:prepareContainer\\(\\) has parameter \\$extraExtensions with no value type specified in iterable type array\\.$#"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use function dirname;
use function phpDocumentor\Guides\DependencyInjection\template;

final class PhpDomainExtension extends Extension implements PrependExtensionInterface
final class GuidesPhpDomainExtension extends Extension implements PrependExtensionInterface
{
/** @param mixed[] $configs */
public function load(array $configs, ContainerBuilder $container): void
Expand Down
4 changes: 2 additions & 2 deletions tests/ApplicationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use T3Docs\GuidesPhpDomain\DependencyInjection\PhpDomainExtension;
use T3Docs\GuidesPhpDomain\DependencyInjection\GuidesPhpDomainExtension;

abstract class ApplicationTestCase extends TestCase
{
Expand All @@ -34,7 +34,7 @@ protected function prepareContainer(string|null $configurationFile = null, array
{
$containerFactory = new ContainerFactory([
new ApplicationExtension(),
new PhpDomainExtension(),
new GuidesPhpDomainExtension(),
...$extraExtensions,
]);

Expand Down

0 comments on commit 97e25b9

Please sign in to comment.