Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code-block-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
},
"autoload": {
"psr-4": {
"SymfonyCodeBlockChecker\\": "src/"
"Symfony\\CodeBlockChecker\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SymfonyCodeBlockChecker\\Tests\\": "tests/"
"Symfony\\CodeBlockChecker\\Tests\\": "tests/"
}
},
"repositories": [
Expand Down
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
bind:
string $cacheDir: '%kernel.cache_dir%'

SymfonyCodeBlockChecker\:
Symfony\CodeBlockChecker\:
resource: '../src/'
exclude:
- '../src/Kernel.php'
Expand Down
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Command/CacheClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/Command/CheckDocsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

declare(strict_types=1);

namespace SymfonyCodeBlockChecker\Command;
namespace Symfony\CodeBlockChecker\Command;

use Doctrine\RST\Builder\Documents;
use Doctrine\RST\Builder\ParseQueue;
use Doctrine\RST\Builder\ParseQueueProcessor;
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
Expand Down
2 changes: 1 addition & 1 deletion src/Kernel.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace SymfonyCodeBlockChecker;
namespace Symfony\CodeBlockChecker;

use Psr\Container\ContainerInterface;
use Symfony\Component\Config\FileLocator;
Expand Down
4 changes: 2 additions & 2 deletions src/Listener/ValidCodeNodeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace SymfonyCodeBlockChecker\Listener;
namespace Symfony\CodeBlockChecker\Listener;

use Doctrine\RST\ErrorManager;
use Doctrine\RST\Event\PostNodeCreateEvent;
use Doctrine\RST\Nodes\CodeNode;
use Symfony\CodeBlockChecker\Twig\DummyExtension;
use Symfony\Component\Process\Process;
use Symfony\Component\Yaml\Exception\ParseException;
use Symfony\Component\Yaml\Yaml;
use SymfonyCodeBlockChecker\Twig\DummyExtension;
use Twig\Environment;
use Twig\Error\SyntaxError;
use Twig\Loader\ArrayLoader;
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/DummyExtension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace SymfonyCodeBlockChecker\Twig;
namespace Symfony\CodeBlockChecker\Twig;

use Twig\Extension\AbstractExtension;
use Twig\TwigFilter;
Expand Down
4 changes: 2 additions & 2 deletions tests/Listener/ValidCodeNodeListenerTest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace SymfonyCodeBlockChecker\Tests\Listener;
namespace Symfony\CodeBlockChecker\Tests\Listener;

use Doctrine\RST\Configuration;
use Doctrine\RST\Environment;
use Doctrine\RST\ErrorManager;
use Doctrine\RST\Event\PostNodeCreateEvent;
use Doctrine\RST\Nodes\CodeNode;
use PHPUnit\Framework\TestCase;
use SymfonyCodeBlockChecker\Listener\ValidCodeNodeListener;
use Symfony\CodeBlockChecker\Listener\ValidCodeNodeListener;

class ValidCodeNodeListenerTest extends TestCase
{
Expand Down