Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
dependencies:
- "highest"
include:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ composer require cboden/ratchet:^0.4.4
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

This project aims to run on any platform and thus does not require any PHP
extensions and supports running on legacy PHP 5.4 through PHP 7.4+ with limited support for PHP 8+.
extensions and supports running on legacy PHP 5.4 through PHP 8.1+ with limited support for PHP 8.2+.
It's *highly recommended to use the latest supported PHP version* for this project.

See above note about [Reviving Ratchet](#reviving-ratchet) for newer PHP support.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
, "symfony/routing": "^2.6|^3.0|^4.0|^5.0|^6.0"
}
, "require-dev": {
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
"symfony/http-foundation": "^2.6|^3.0|^4.0|^5.0"
}
}
6 changes: 3 additions & 3 deletions tests/unit/AbstractConnectionDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function testWarningGettingNothing() {
$error = false;
set_error_handler(function () use (&$error) {
$error = true;
}, E_NOTICE);
}, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE);

$var = $this->mock->nonExistant;

Expand All @@ -152,7 +152,7 @@ public function testWarningGettingNothingLevel1() {
$error = false;
set_error_handler(function () use (&$error) {
$error = true;
}, E_NOTICE);
}, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE);

$var = $this->l1->nonExistant;

Expand All @@ -166,7 +166,7 @@ public function testWarningGettingNothingLevel2() {
$error = false;
set_error_handler(function () use (&$error) {
$error = true;
}, E_NOTICE);
}, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE);

$var = $this->l2->nonExistant;

Expand Down