Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"ext-pdo": "*",
"event-engine/php-persistence": "^0.8"
},
Expand All @@ -27,7 +27,7 @@
"phpstan/phpstan": "^0.12.48",
"phpstan/phpstan-strict-rules": "^0.12.5",
"phpunit/phpunit": "^8.5.8",
"prooph/php-cs-fixer-config": "^0.3.1",
"prooph/php-cs-fixer-config": "^0.4.0",
"ramsey/uuid" : "^4.1.1",
"roave/security-advisories": "dev-master",
"php-coveralls/php-coveralls": "^2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:
php:
image: prooph/php:7.2-cli
image: prooph/php:8.0-cli
volumes:
- .:/app
environment:
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/PostgresDocumentStoreException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
8 changes: 8 additions & 0 deletions src/Index/RawSqlIndexCmd.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace EventEngine\DocumentStore\Postgres\Index;
Expand Down
8 changes: 8 additions & 0 deletions src/Metadata/Column.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace EventEngine\DocumentStore\Postgres\Metadata;
Expand Down
8 changes: 8 additions & 0 deletions src/Metadata/MetadataColumnIndex.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace EventEngine\DocumentStore\Postgres\Metadata;
Expand Down
4 changes: 2 additions & 2 deletions src/PostgresDocumentStore.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down Expand Up @@ -827,7 +827,7 @@ private function filterToWhereClause(Filter $filter, $argsCount = 0): array
if($innerFilter instanceof DocumentStore\Filter\AnyOfFilter || $innerFilter instanceof DocumentStore\Filter\AnyOfDocIdFilter) {
if ($argsCount === 0) {
return [
substr_replace(' 1 != 1 ', ' 1 = 1 ', $innerFilterStr),
str_replace(' 1 != 1 ', ' 1 = 1 ', $innerFilterStr),
$args,
$argsCount
];
Expand Down
8 changes: 8 additions & 0 deletions tests/MetadataPostgresDocumentStoreTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace EventEngine\DocumentStoreTest\Postgres;
Expand Down
2 changes: 1 addition & 1 deletion tests/PostgresDocumentStoreTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion tests/SchemedPostgresDocumentStoreTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion tests/TestUtil.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of the event-engine/php-postgres-document-store.
* (c) 2019 prooph software GmbH <contact@prooph.de>
* (c) 2019-2021 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down