Skip to content

Commit

Permalink
PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed May 23, 2023
1 parent 3be3079 commit 26a83bc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 21 deletions.
3 changes: 0 additions & 3 deletions src/Provider/Doctrine/Auditing/Event/DoctrineSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ public function onFlush(OnFlushEventArgs $args): void
$entityManager->getConnection()->getConfiguration()->setSQLLogger($loggerChain);
}

/**
* {@inheritdoc}
*/
public function getSubscribedEvents(): array
{
return [Events::onFlush];
Expand Down
6 changes: 0 additions & 6 deletions src/Provider/Doctrine/Auditing/Logger/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ public function __construct(callable $flusher)
$this->flusher = $flusher;
}

/**
* {@inheritdoc}
*/
public function startQuery($sql, ?array $params = null, ?array $types = null): void
{
// insert all audit entries right before commit
Expand All @@ -33,9 +30,6 @@ public function startQuery($sql, ?array $params = null, ?array $types = null): v
}
}

/**
* {@inheritdoc}
*/
public function stopQuery(): void
{
}
Expand Down
6 changes: 0 additions & 6 deletions src/Provider/Doctrine/Auditing/Logger/LoggerChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,13 @@ public function addLogger(SQLLogger $logger): void
$this->loggers[] = $logger;
}

/**
* {@inheritdoc}
*/
public function startQuery($sql, ?array $params = null, ?array $types = null): void
{
foreach ($this->loggers as $logger) {
$logger->startQuery($sql, $params, $types);
}
}

/**
* {@inheritdoc}
*/
public function stopQuery(): void
{
foreach ($this->loggers as $logger) {
Expand Down
3 changes: 0 additions & 3 deletions src/Provider/Doctrine/Auditing/Logger/Middleware/DHDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ public function __construct(DriverInterface $driver)
$this->driver = $driver;
}

/**
* {@inheritDoc}
*/
public function connect(array $params): DHConnection
{
return new DHConnection(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ public function postGenerateSchemaTable(GenerateSchemaTableEventArgs $eventArgs)
$updater->createAuditTable($targetEntity, $isSameEntityManager ? $eventArgs->getSchema() : null);
}

/**
* {@inheritdoc}
*/
public function getSubscribedEvents(): array
{
return [
Expand Down

0 comments on commit 26a83bc

Please sign in to comment.