Skip to content

Commit

Permalink
Fixed CI (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper authored Jun 9, 2023
1 parent b94b518 commit e433255
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ services:
class: DH\Auditor\Provider\Doctrine\Persistence\Event\CreateSchemaListener
arguments: ['@DH\Auditor\Provider\Doctrine\DoctrineProvider']
tags:
- { name: doctrine.event_subscriber }
- { name: doctrine.event_listener, event: postGenerateSchemaTable }

DH\Auditor\Provider\Doctrine\Persistence\Event\TableSchemaSubscriber:
class: DH\Auditor\Provider\Doctrine\Persistence\Event\TableSchemaSubscriber
arguments: ['@DH\Auditor\Provider\Doctrine\DoctrineProvider']
tags:
- { name: doctrine.event_subscriber }
- { name: doctrine.event_listener, event: loadClassMetadata }

DH\Auditor\Provider\Doctrine\Persistence\Command\CleanAuditLogsCommand:
class: DH\Auditor\Provider\Doctrine\Persistence\Command\CleanAuditLogsCommand
Expand Down
4 changes: 2 additions & 2 deletions tests/App/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public function getProjectDir(): string
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
{
$container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));
$container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400 || $this->debug);
$container->setParameter('container.dumper.inline_factories', true);
$container->setParameter('.container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400 || $this->debug);
$container->setParameter('.container.dumper.inline_factories', true);

$confDir = $this->getProjectDir().'/config';
$loader->load($confDir.'/services'.self::CONFIG_EXTS, 'glob');
Expand Down
1 change: 1 addition & 0 deletions tests/App/config/packages/sf6/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ framework:
router:
utf8: true
session:
handler_id: 'session.handler.native'
storage_factory_id: session.storage.factory.mock_file

0 comments on commit e433255

Please sign in to comment.