Skip to content

Commit 701f158

Browse files
committed
Merge pull request #17 from clue-labs/react
Move to ReactPHP organization
2 parents 0f5a7fd + 221a4f7 commit 701f158

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# clue/promise-timer [![Build Status](https://travis-ci.org/clue/php-promise-timer.svg?branch=master)](https://travis-ci.org/clue/php-promise-timer)
1+
# react/promise-timer [![Build Status](https://travis-ci.org/react/promise-timer.svg?branch=master)](https://travis-ci.org/react/promise-timer)
22

33
A trivial implementation of timeouts for `Promise`s, built on top of [React PHP](http://reactphp.org/).
44

@@ -7,20 +7,20 @@ A trivial implementation of timeouts for `Promise`s, built on top of [React PHP]
77
## Usage
88

99
This lightweight library consists only of a few simple functions.
10-
All functions reside under the `Clue\Promise\Timer` namespace.
10+
All functions reside under the `React\Promise\Timer` namespace.
1111

1212
The below examples assume you use an import statement similar to this:
1313

1414
```php
15-
use Clue\Promise\Timer;
15+
use React\Promise\Timer;
1616

1717
Timer\timeout(…);
1818
```
1919

2020
Alternatively, you can also refer to them with their fully-qualified name:
2121

2222
```php
23-
\Clue\Promise\Timer\timeout(…);
23+
\React\Promise\Timer\timeout(…);
2424
```
2525

2626
### timeout()
@@ -205,7 +205,7 @@ The recommended way to install this library is [through composer](http://getcomp
205205
```JSON
206206
{
207207
"require": {
208-
"clue/promise-timer": "dev-master"
208+
"react/promise-timer": "dev-master"
209209
}
210210
}
211211
```

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "clue/promise-timer",
2+
"name": "react/promise-timer",
33
"description": "Trivial timeout implementation for Promises",
44
"keywords": ["Promise", "timeout", "timer", "event-loop", "ReactPHP", "async"],
5-
"homepage": "https://github.com/clue/php-promise-timer",
5+
"homepage": "https://github.com/react/promise-timer",
66
"license": "MIT",
77
"authors": [
88
{
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"autoload": {
14-
"psr-4": { "Clue\\Promise\\Timer\\": "src/" },
14+
"psr-4": { "React\\Promise\\Timer\\": "src/" },
1515
"files": [ "src/functions.php" ]
1616
},
1717
"require": {

src/TimeoutException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Clue\Promise\Timer;
3+
namespace React\Promise\Timer;
44

55
use RuntimeException;
66

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Clue\Promise\Timer;
3+
namespace React\Promise\Timer;
44

55
use React\Promise\CancellablePromiseInterface;
66
use React\EventLoop\LoopInterface;

tests/FunctionRejectTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Clue\Promise\Timer;
3+
use React\Promise\Timer;
44

55
class FunctionRejectTest extends TestCase
66
{

tests/FunctionResolveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Clue\Promise\Timer;
3+
use React\Promise\Timer;
44

55
class FunctionResolveTest extends TestCase
66
{

tests/FunctionTimeoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Clue\Promise\Timer;
3+
use React\Promise\Timer;
44
use React\Promise;
55

66
class FunctionTimerTest extends TestCase

tests/TimeoutExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Clue\Promise\Timer\TimeoutException;
3+
use React\Promise\Timer\TimeoutException;
44

55
class TimeoutExceptionTest extends TestCase
66
{

0 commit comments

Comments
 (0)