Skip to content

Commit

Permalink
No issue - Rethink namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonnytunes committed Feb 26, 2024
1 parent 9e7b96d commit 7661565
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/Backupper/AbstractBackupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace MakinaCorpus\DbToolsBundle\Backupper;

use Doctrine\DBAL\Connection;
use MakinaCorpus\DbToolsBundle\Utility\AbstractProcessTrait;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\AbstractProcessTrait;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;
use Symfony\Component\Process\Process;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Backupper/MariaDB/Backupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Backupper\MariaDB;

use MakinaCorpus\DbToolsBundle\Backupper\AbstractBackupper;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Backupper extends AbstractBackupper
{
Expand Down
2 changes: 1 addition & 1 deletion src/Backupper/MySQL/Backupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Backupper\MySQL;

use MakinaCorpus\DbToolsBundle\Backupper\AbstractBackupper;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Backupper extends AbstractBackupper
{
Expand Down
2 changes: 1 addition & 1 deletion src/Backupper/PgSQL/Backupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Backupper\PgSQL;

use MakinaCorpus\DbToolsBundle\Backupper\AbstractBackupper;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Backupper extends AbstractBackupper
{
Expand Down
2 changes: 1 addition & 1 deletion src/Backupper/SQLite/Backupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Backupper\SQLite;

use MakinaCorpus\DbToolsBundle\Backupper\AbstractBackupper;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;
use MakinaCorpus\QueryBuilder\Bridge\Doctrine\DoctrineQueryBuilder;
use MakinaCorpus\QueryBuilder\Where;

Expand Down
2 changes: 1 addition & 1 deletion src/Utility/ChainLogger.php → src/Helper/ChainLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace MakinaCorpus\DbToolsBundle\Utility;
namespace MakinaCorpus\DbToolsBundle\Helper;

use Psr\Log\AbstractLogger;
use Psr\Log\LoggerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

declare(strict_types=1);

namespace MakinaCorpus\DbToolsBundle\Utility;
namespace MakinaCorpus\DbToolsBundle\Process;

use MakinaCorpus\DbToolsBundle\Helper\ChainLogger;
use Psr\Log\LoggerInterface;
use Symfony\Component\Process\Process;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace MakinaCorpus\DbToolsBundle\Utility;
namespace MakinaCorpus\DbToolsBundle\Process;

use Symfony\Component\Process\Process;

Expand Down
4 changes: 2 additions & 2 deletions src/Restorer/AbstractRestorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace MakinaCorpus\DbToolsBundle\Restorer;

use Doctrine\DBAL\Connection;
use MakinaCorpus\DbToolsBundle\Utility\AbstractProcessTrait;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\AbstractProcessTrait;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;
use Symfony\Component\Process\Process;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Restorer/MariaDB/Restorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Restorer\MariaDB;

use MakinaCorpus\DbToolsBundle\Restorer\AbstractRestorer;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Restorer extends AbstractRestorer
{
Expand Down
2 changes: 1 addition & 1 deletion src/Restorer/MySQL/Restorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Restorer\MySQL;

use MakinaCorpus\DbToolsBundle\Restorer\AbstractRestorer;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Restorer extends AbstractRestorer
{
Expand Down
2 changes: 1 addition & 1 deletion src/Restorer/PgSQL/Restorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Restorer\PgSQL;

use MakinaCorpus\DbToolsBundle\Restorer\AbstractRestorer;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Restorer extends AbstractRestorer
{
Expand Down
2 changes: 1 addition & 1 deletion src/Restorer/SQLite/Restorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Restorer\SQLite;

use MakinaCorpus\DbToolsBundle\Restorer\AbstractRestorer;
use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;

class Restorer extends AbstractRestorer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace MakinaCorpus\DbToolsBundle\Tests\Unit\Utility;
namespace MakinaCorpus\DbToolsBundle\Tests\Unit\Process;

use MakinaCorpus\DbToolsBundle\Utility\CommandLine;
use MakinaCorpus\DbToolsBundle\Process\CommandLine;
use PHPUnit\Framework\Attributes\RequiresOperatingSystem;
use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 7661565

Please sign in to comment.