Skip to content

Commit

Permalink
Update deps + PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Dec 30, 2023
1 parent b706e33 commit 8d3c2e2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/Controller/ViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use DH\Auditor\Provider\Doctrine\Persistence\Schema\SchemaManager;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\AuditorBundle\Helper\UrlHelper;
use DH\AuditorBundle\Tests\Controller\ViewerControllerTest;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
Expand All @@ -18,7 +19,7 @@
use Twig\Environment;

/**
* @see \DH\AuditorBundle\Tests\Controller\ViewerControllerTest
* @see ViewerControllerTest
*/
final class ViewerController
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
namespace DH\AuditorBundle\DependencyInjection\Compiler;

use DH\Auditor\Configuration;
use DH\AuditorBundle\Tests\DependencyInjection\Compiler\CustomConfigurationCompilerPassTest;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;

/**
* @see \DH\AuditorBundle\Tests\DependencyInjection\Compiler\CustomConfigurationCompilerPassTest
* @see CustomConfigurationCompilerPassTest
*/
class CustomConfigurationCompilerPass implements CompilerPassInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\AuditorBundle\Tests\DependencyInjection\Compiler\DoctrineMiddlewareCompilerPassTest;
use Doctrine\DBAL\Driver\Middleware;
use Symfony\Component\DependencyInjection\ChildDefinition;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Reference;

/** @see \DH\AuditorBundle\Tests\DependencyInjection\Compiler\DoctrineMiddlewareCompilerPassTest */
/** @see DoctrineMiddlewareCompilerPassTest */
class DoctrineProviderConfigurationCompilerPass implements CompilerPassInterface
{
private bool $isDHMiddlewareSupported = false;
Expand Down
4 changes: 3 additions & 1 deletion src/Helper/UrlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

namespace DH\AuditorBundle\Helper;

use DH\AuditorBundle\Tests\Helper\UrlHelperTest;

/**
* @see \DH\AuditorBundle\Tests\Helper\UrlHelperTest
* @see UrlHelperTest
*/
abstract class UrlHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
namespace DH\AuditorBundle\Tests\DependencyInjection\Compiler;

use DH\Auditor\Configuration;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Author;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Comment;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Post;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Tag;
use DH\AuditorBundle\DependencyInjection\Compiler\AddProviderCompilerPass;
use DH\AuditorBundle\DependencyInjection\Compiler\CustomConfigurationCompilerPass;
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase;
Expand Down Expand Up @@ -36,16 +40,16 @@ public function testCompilerPass(): void
1 => 'updatedAt',
],
'entities' => [
\DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Author::class => [
Author::class => [
'enabled' => true,
],
\DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Post::class => [
Post::class => [
'enabled' => true,
],
\DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Comment::class => [
Comment::class => [
'enabled' => true,
],
\DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Tag::class => [
Tag::class => [
'enabled' => true,
],
],
Expand Down

0 comments on commit 8d3c2e2

Please sign in to comment.