Skip to content

Commit

Permalink
add further tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Oct 17, 2018
1 parent b87dd1b commit b846ef7
Show file tree
Hide file tree
Showing 352 changed files with 1,033 additions and 361 deletions.
14 changes: 6 additions & 8 deletions .docheader
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* This file is part of the prooph/event-store-client.
* (c) 2018-%year% prooph software GmbH <contact@prooph.de>
* (c) 2018-%year% Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
This file is part of `%package%`.
(c) 2018-%year% prooph software GmbH <contact@prooph.de>
(c) 2018-%year% Sascha-Oliver Prolic <saschaprolic@googlemail.com>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
"ramsey/uuid": "^3.7.3"
},
"require-dev": {
"malukenho/docheader": "^0.1.4",
"phpspec/prophecy": "^1.7",
"phpunit/phpunit": "^7.3.3",
"prooph/php-cs-fixer-config": "^0.2.1",
"phpunit/phpunit": "^7.4",
"prooph/php-cs-fixer-config": "^0.3",
"satooshi/php-coveralls": "^1.0"
},
"autoload": {
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-async-cluster.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-async-dns-cluster.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-async-with-logger.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-async.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription-with-logger.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription1.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription2.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription3.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription4.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-subscription5.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion examples/demo-sync.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
2 changes: 0 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
timeoutForSmallTests="2"
enforceTimeLimit="true"
failOnWarning="true"
failOnRisky="true"
>
Expand Down
3 changes: 2 additions & 1 deletion src/AllEventsSlice.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/CatchUpSubscriptionDropped.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/CatchUpSubscriptionSettings.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientAuthenticationFailedEventArgs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientClosedEventArgs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientConnectionEventArgs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientErrorEventArgs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/AbstractOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/AbstractSubscriptionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/AppendToStreamOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ClientOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/CommitTransactionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ConditionalAppendToStreamOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/DeleteStreamOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ReadAllEventsBackwardOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ReadAllEventsForwardOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ReadEventOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ReadStreamEventsBackwardOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/ReadStreamEventsForwardOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/StartAsyncTransactionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/StartTransactionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/SubscriptionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/TransactionalWriteOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientOperations/VolatileSubscriptionOperation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
3 changes: 2 additions & 1 deletion src/ClientReconnectingEventArgs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

/**
* This file is part of the prooph/event-store-client.
* This file is part of `prooph/event-store-client`.
* (c) 2018-2018 prooph software GmbH <contact@prooph.de>
* (c) 2018-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
Expand Down
Loading

0 comments on commit b846ef7

Please sign in to comment.