Skip to content

Commit

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

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

Expand All @@ -16,7 +16,7 @@
*/
abstract class AbstractBackupper
{
use AbstractProcessTrait;
use ProcessTrait;

protected ?string $destination = null;
protected array $excludedTables = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Psr\Log\LoggerInterface;
use Symfony\Component\Process\Process;

trait AbstractProcessTrait
trait ProcessTrait
{
protected ?Process $process = null;
private ?ChainLogger $logger = null;
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,7 +5,7 @@
namespace MakinaCorpus\DbToolsBundle\Restorer;

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

Expand All @@ -14,7 +14,7 @@
*/
abstract class AbstractRestorer
{
use AbstractProcessTrait;
use ProcessTrait;

protected ?string $backupFilename = null;
protected string $defaultOptions = '';
Expand Down

0 comments on commit 6c7ad0a

Please sign in to comment.