File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - " 7.2"
2121 - " 7.3"
2222 - " 7.4"
23+ - " 8.0"
24+ - " 8.1"
2325 dependencies :
2426 - " highest"
2527 include :
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ composer require cboden/ratchet:^0.4.4
101101See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
102102
103103This project aims to run on any platform and thus does not require any PHP
104- extensions and supports running on legacy PHP 5.4 through PHP 7.4 + with limited support for PHP 8+.
104+ extensions and supports running on legacy PHP 5.4 through PHP 8.1 + with limited support for PHP 8.2 +.
105105It's * highly recommended to use the latest supported PHP version* for this project.
106106
107107See above note about [ Reviving Ratchet] ( #reviving-ratchet ) for newer PHP support.
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ public function testWarningGettingNothing() {
138138 $ error = false ;
139139 set_error_handler (function () use (&$ error ) {
140140 $ error = true ;
141- }, E_NOTICE );
141+ }, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE );
142142
143143 $ var = $ this ->mock ->nonExistant ;
144144
@@ -152,7 +152,7 @@ public function testWarningGettingNothingLevel1() {
152152 $ error = false ;
153153 set_error_handler (function () use (&$ error ) {
154154 $ error = true ;
155- }, E_NOTICE );
155+ }, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE );
156156
157157 $ var = $ this ->l1 ->nonExistant ;
158158
@@ -166,7 +166,7 @@ public function testWarningGettingNothingLevel2() {
166166 $ error = false ;
167167 set_error_handler (function () use (&$ error ) {
168168 $ error = true ;
169- }, E_NOTICE );
169+ }, PHP_VERSION_ID >= 80000 ? E_WARNING : E_NOTICE );
170170
171171 $ var = $ this ->l2 ->nonExistant ;
172172
You can’t perform that action at this time.
0 commit comments