Skip to content

Commit 251b4e5

Browse files
committed
Remove CancellablePromiseInterface retained for BC only
1 parent d91c930 commit 251b4e5

6 files changed

Lines changed: 5 additions & 29 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,4 @@ CHANGELOG for 3.x
1414
supported, other input types resolved to empty arrays or `null`. (#35).
1515
* BC break: The interfaces `PromiseInterface`, `ExtendedPromiseInterface`
1616
and `CancellablePromiseInterface` have been merged into a single
17-
`PromiseInterface`. The `CancellablePromiseInterface` has been kept for
18-
backward compatibility but is marked as deprecated and must not be used
19-
anymore.
17+
`PromiseInterface`.

‎src/CancellablePromiseInterface.php‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎src/FulfilledPromise.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace React\Promise;
44

5-
class FulfilledPromise implements PromiseInterface, CancellablePromiseInterface
5+
class FulfilledPromise implements PromiseInterface
66
{
77
private $value;
88

‎src/LazyPromise.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace React\Promise;
44

5-
class LazyPromise implements PromiseInterface, CancellablePromiseInterface
5+
class LazyPromise implements PromiseInterface
66
{
77
private $factory;
88
private $promise;

‎src/Promise.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace React\Promise;
44

5-
class Promise implements PromiseInterface, CancellablePromiseInterface
5+
class Promise implements PromiseInterface
66
{
77
private $canceller;
88
private $result;

‎src/RejectedPromise.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace React\Promise;
44

5-
class RejectedPromise implements PromiseInterface, CancellablePromiseInterface
5+
class RejectedPromise implements PromiseInterface
66
{
77
private $reason;
88

0 commit comments

Comments
 (0)