Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 559288a

Browse files
authored
Merge pull request #1 from akleineb/patch-1
Add neos/flow 6
2 parents 8150d35 + 24003d5 commit 559288a

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Classes/EventListener/AppliedEventsLogRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* source code.
1212
*/
1313

14-
use Doctrine\Common\Persistence\ObjectManager as EntityManager;
14+
use Doctrine\ORM\EntityManagerInterface;
1515
use Neos\Flow\Annotations as Flow;
1616

1717
/**
@@ -31,7 +31,7 @@ class AppliedEventsLogRepository
3131
{
3232
/**
3333
* @Flow\Inject
34-
* @var EntityManager
34+
* @var EntityManagerInterface
3535
*/
3636
protected $entityManager;
3737

Classes/EventStore/Storage/Doctrine/Factory/ConnectionFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
* source code.
1212
*/
1313

14-
use Doctrine\Common\Persistence\ObjectManager;
1514
use Doctrine\DBAL\Configuration;
1615
use Doctrine\DBAL\Connection;
1716
use Doctrine\DBAL\DriverManager;
1817
use Doctrine\DBAL\Types\Type;
1918
use Neos\Flow\Annotations as Flow;
19+
use Neos\Flow\ObjectManagement\ObjectManagerInterface;
2020
use Neos\Utility\Arrays;
2121

2222
/**
@@ -32,7 +32,7 @@ class ConnectionFactory
3232
* slot is invoked. Without this an exception 'Unknown column type "flow_json_array" requested' might be thrown
3333
*
3434
* @Flow\Inject(lazy=false)
35-
* @var ObjectManager
35+
* @var ObjectManagerInterface
3636
*/
3737
protected $doctrineObjectManager;
3838

Classes/ProcessManager/State/StateRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Doctrine\ORM\EntityManagerInterface;
1515
use Neos\Flow\Annotations as Flow;
16-
use Neos\Flow\Log\SystemLoggerInterface;
16+
use Psr\Log\LoggerInterface;
1717

1818
/**
1919
* A repository specialized on Process States
@@ -24,7 +24,7 @@ final class StateRepository
2424
{
2525
/**
2626
* @Flow\Inject
27-
* @var SystemLoggerInterface
27+
* @var LoggerInterface
2828
*/
2929
protected $systemLogger;
3030

Classes/Projection/Doctrine/DoctrineProjectionPersistenceManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
use Doctrine\ORM\ORMException;
1616
use Doctrine\ORM\UnitOfWork;
1717
use Neos\EventSourcing\Exception;
18-
use Neos\Flow\Log\SystemLoggerInterface;
1918
use Neos\Flow\Annotations as Flow;
19+
use Psr\Log\LoggerInterface;
2020

2121
/**
2222
* A persistence manager for Doctrine-based projectors
@@ -29,7 +29,7 @@ class DoctrineProjectionPersistenceManager
2929

3030
/**
3131
* @Flow\Inject
32-
* @var SystemLoggerInterface
32+
* @var LoggerInterface
3333
*/
3434
protected $systemLogger;
3535

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Lean and opinionated way to integrate Event Sourcing and CQRS pattern in your Flow framework package",
55
"require": {
66
"php": ">=7.0",
7-
"neos/flow": "~4.0 || ~5.0 || dev-master"
7+
"neos/flow": "~4.0 || ~5.0 || ~6.0 || dev-master"
88
},
99
"suggest": {
1010
"php-uuid": "For fast generation of UUIDs used in the persistence."

0 commit comments

Comments
 (0)