diff options
author | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
---|---|---|
committer | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
commit | cf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch) | |
tree | 86700651aa180026e89a66064b0364b1e4346f3f /assets/php/vendor/react/promise/tests/fixtures | |
parent | 619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff) |
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'assets/php/vendor/react/promise/tests/fixtures')
5 files changed, 0 insertions, 94 deletions
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php deleted file mode 100755 index ef4d530..0000000 --- a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace React\Promise; - -class SimpleFulfilledTestPromise implements PromiseInterface -{ - public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) - { - try { - if ($onFulfilled) { - $onFulfilled('foo'); - } - - return new self(); - } catch (\Throwable $exception) { - return new RejectedPromise($exception); - } catch (\Exception $exception) { - return new RejectedPromise($exception); - } - } -} diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php deleted file mode 100755 index 3f66f63..0000000 --- a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace React\Promise; - -class SimpleFulfilledTestThenable -{ - public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) - { - try { - if ($onFulfilled) { - $onFulfilled('foo'); - } - - return new self(); - } catch (\Throwable $exception) { - return new RejectedPromise($exception); - } catch (\Exception $exception) { - return new RejectedPromise($exception); - } - } -} diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php deleted file mode 100755 index b30a226..0000000 --- a/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace React\Promise; - -class SimpleRejectedTestPromise implements PromiseInterface -{ - public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) - { - try { - if ($onRejected) { - $onRejected('foo'); - } - - return new self(); - } catch (\Throwable $exception) { - return new RejectedPromise($exception); - } catch (\Exception $exception) { - return new RejectedPromise($exception); - } - } -} diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php deleted file mode 100755 index f232a68..0000000 --- a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -namespace React\Promise; - -class SimpleTestCancellable -{ - public $cancelCalled = false; - - public function cancel() - { - $this->cancelCalled = true; - } -} diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php deleted file mode 100755 index c0f1593..0000000 --- a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -namespace React\Promise; - -class SimpleTestCancellableThenable -{ - public $cancelCalled = false; - - public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) - { - return new self(); - } - - public function cancel() - { - $this->cancelCalled = true; - } -} |