Skip to content

Commit

Permalink
Merge pull request #5174 from neos/feature/doctrine-2-and-3-compatibi…
Browse files Browse the repository at this point in the history
…lity-8.4

FEATURE: Support doctrine/dbal 2.x and 3.x
  • Loading branch information
kitsunet authored Jul 5, 2024
2 parents 1f3c59d + c025b85 commit ab2f87f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\EntityManagerInterface;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Persistence\Aspect\PersistenceMagicInterface;
Expand Down Expand Up @@ -119,19 +120,19 @@ class NodeImportService
'dimensionValues' => [],
'properties' => [],
'hiddenBeforeDateTime' => [
'columnType' => Type::DATETIME
'columnType' => Types::DATE_IMMUTABLE
],
'hiddenAfterDateTime' => [
'columnType' => Type::DATETIME
'columnType' => Types::DATE_IMMUTABLE
],
'creationDateTime' => [
'columnType' => Type::DATETIME
'columnType' => Types::DATE_IMMUTABLE
],
'lastModificationDateTime' => [
'columnType' => Type::DATETIME
'columnType' => Types::DATE_IMMUTABLE
],
'lastPublicationDateTime' => [
'columnType' => Type::DATETIME
'columnType' => Types::DATE_IMMUTABLE
],
'accessRoles' => []
];
Expand Down
2 changes: 1 addition & 1 deletion Neos.Media/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"imagine/imagine": "*",
"doctrine/common": "^2.7 || ^3.0",
"doctrine/orm": "^2.6",
"doctrine/dbal": "^2.8"
"doctrine/dbal": "^2.8 || ^3"
},
"replace": {
"typo3/media": "self.version"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"enshrined/svg-sanitize": "^0.17.0",
"neos/imagine": "^3.1.0",
"imagine/imagine": "*",
"doctrine/dbal": "^2.8",
"doctrine/dbal": "^2.8 || ^3",
"neos/party": "*",
"neos/fusion-form": "^1.0 || ^2.0",
"neos/form": "*",
Expand Down

0 comments on commit ab2f87f

Please sign in to comment.