Skip to content

Commit 1f40334

Browse files
authored
Merge pull request #80 from SimonFrings/promise_v3
Forward compatibility with Promise v3
2 parents 9dadf20 + b7b7a0e commit 1f40334

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $factory->createClient('user:secret@localhost')->then(function (Clue\React\Ami\C
9999
});
100100
```
101101

102-
See also the [examples](examples).
102+
See also the [examples](examples/).
103103

104104
## Usage
105105

@@ -557,7 +557,7 @@ This project follows [SemVer](https://semver.org/).
557557
This will install the latest supported version:
558558

559559
```bash
560-
$ composer require clue/ami-react:^1.1
560+
composer require clue/ami-react:^1.1
561561
```
562562

563563
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
@@ -572,13 +572,13 @@ To run the test suite, you first need to clone this repo and then install all
572572
dependencies [through Composer](https://getcomposer.org/):
573573

574574
```bash
575-
$ composer install
575+
composer install
576576
```
577577

578578
To run the test suite, go to the project root and run:
579579

580580
```bash
581-
$ vendor/bin/phpunit
581+
vendor/bin/phpunit
582582
```
583583

584584
The test suite contains both unit tests and functional integration tests.
@@ -588,7 +588,7 @@ If you want to also run the functional tests, you need to supply *your* AMI logi
588588
details in an environment variable like this:
589589

590590
```bash
591-
$ LOGIN=username:password@localhost php vendor/bin/phpunit
591+
LOGIN=username:password@localhost php vendor/bin/phpunit
592592
```
593593

594594
## License

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"php": ">=5.3",
1515
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
1616
"react/event-loop": "^1.2",
17-
"react/promise": "^2.0 || ^1.1",
18-
"react/socket": "^1.9"
17+
"react/promise": "^3.0 || ^2.9 || ^1.1",
18+
"react/socket": "^1.14"
1919
},
2020
"require-dev": {
21-
"clue/block-react": "^1.2",
21+
"clue/block-react": "^1.5",
2222
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
2323
},
2424
"autoload": {

0 commit comments

Comments
 (0)