diff --git a/code-block-checker.php b/code-block-checker.php index 921539c..74467ff 100755 --- a/code-block-checker.php +++ b/code-block-checker.php @@ -4,8 +4,8 @@ require __DIR__.'/vendor/autoload.php'; -use SymfonyCodeBlockChecker\Application; -use SymfonyCodeBlockChecker\Kernel; +use Symfony\CodeBlockChecker\Application; +use Symfony\CodeBlockChecker\Kernel; use Symfony\Component\Console\Input\ArgvInput; $input = new ArgvInput(); diff --git a/composer.json b/composer.json index 9466f22..d34b2b6 100644 --- a/composer.json +++ b/composer.json @@ -39,12 +39,12 @@ }, "autoload": { "psr-4": { - "SymfonyCodeBlockChecker\\": "src/" + "Symfony\\CodeBlockChecker\\": "src/" } }, "autoload-dev": { "psr-4": { - "SymfonyCodeBlockChecker\\Tests\\": "tests/" + "Symfony\\CodeBlockChecker\\Tests\\": "tests/" } }, "repositories": [ diff --git a/config/services.yaml b/config/services.yaml index 7a2a88f..6954472 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -8,7 +8,7 @@ services: bind: string $cacheDir: '%kernel.cache_dir%' - SymfonyCodeBlockChecker\: + Symfony\CodeBlockChecker\: resource: '../src/' exclude: - '../src/Kernel.php' diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8701eff..128c537 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -6,7 +6,7 @@ parameters: path: src/Kernel.php - - message: "#^Property SymfonyCodeBlockChecker\\\\Kernel\\:\\:\\$container \\(Symfony\\\\Component\\\\DependencyInjection\\\\Container\\) does not accept CachedContainer\\.$#" + message: "#^Property Symfony\\\\CodeBlockChecker\\\\Kernel\\:\\:\\$container \\(Symfony\\\\Component\\\\DependencyInjection\\\\Container\\) does not accept CachedContainer\\.$#" count: 1 path: src/Kernel.php diff --git a/src/Application.php b/src/Application.php index ec22cef..c7a8d7b 100644 --- a/src/Application.php +++ b/src/Application.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SymfonyCodeBlockChecker; +namespace Symfony\CodeBlockChecker; use Symfony\Component\Console\Application as BaseApplication; use Symfony\Component\Console\Input\InputInterface; diff --git a/src/Command/CacheClearCommand.php b/src/Command/CacheClearCommand.php index abc13fc..10593b0 100644 --- a/src/Command/CacheClearCommand.php +++ b/src/Command/CacheClearCommand.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SymfonyCodeBlockChecker\Command; +namespace Symfony\CodeBlockChecker\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; diff --git a/src/Command/CheckDocsCommand.php b/src/Command/CheckDocsCommand.php index 27818d6..ce82abf 100644 --- a/src/Command/CheckDocsCommand.php +++ b/src/Command/CheckDocsCommand.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SymfonyCodeBlockChecker\Command; +namespace Symfony\CodeBlockChecker\Command; use Doctrine\RST\Builder\Documents; use Doctrine\RST\Builder\ParseQueue; @@ -10,13 +10,13 @@ use Doctrine\RST\ErrorManager; use Doctrine\RST\Event\PostNodeCreateEvent; use Doctrine\RST\Meta\Metas; +use Symfony\CodeBlockChecker\Listener\ValidCodeNodeListener; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Filesystem\Filesystem; -use SymfonyCodeBlockChecker\Listener\ValidCodeNodeListener; use SymfonyDocsBuilder\BuildConfig; class CheckDocsCommand extends Command diff --git a/src/Kernel.php b/src/Kernel.php index c86be7b..79b7ae8 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -1,6 +1,6 @@