File tree 4 files changed +21
-0
lines changed
4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,10 @@ public function cacheAdapterStreamGetErrors(IntegrationTester $I)
192
192
{
193
193
$ I ->wantToTest ('Cache\Adapter\Stream - get() - errors ' );
194
194
195
+ if (version_compare (PHP_VERSION , '8.3.0 ' , '>= ' )) {
196
+ $ I ->markTestSkipped ('Since PHP 8.3 warnings causing session ID/Name lock. ' );
197
+ }
198
+
195
199
$ serializer = new SerializerFactory ();
196
200
$ adapter = new Stream (
197
201
$ serializer ,
Original file line number Diff line number Diff line change @@ -112,6 +112,10 @@ public function storageAdapterStreamGetErrors(IntegrationTester $I)
112
112
{
113
113
$ I ->wantToTest ('Storage\Adapter\Stream - get() - errors ' );
114
114
115
+ if (version_compare (PHP_VERSION , '8.3.0 ' , '>= ' )) {
116
+ $ I ->markTestSkipped ('Invalid `unserialize()` will generate warning but still works. ' );
117
+ }
118
+
115
119
$ serializer = new SerializerFactory ();
116
120
$ adapter = new Stream (
117
121
$ serializer ,
Original file line number Diff line number Diff line change @@ -316,6 +316,11 @@ function () {
316
316
public function storageSerializerPhpUnserializeError (IntegrationTester $ I )
317
317
{
318
318
$ I ->wantToTest ('Storage\Serializer\Php - unserialize() - error ' );
319
+
320
+ if (version_compare (PHP_VERSION , '8.3.0 ' , '>= ' )) {
321
+ $ I ->markTestSkipped ('Invalid `unserialize()` will generate warning but still works. ' );
322
+ }
323
+
319
324
$ serializer = new Php ();
320
325
321
326
$ serialized = '{??hello?unserialize" ' ;
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ public function testSetStatusCodeDefaultMessage(UnitTester $I)
146
146
*/
147
147
public function testHttpResponseSetStatusCodeSend (UnitTester $ I )
148
148
{
149
+ if (!function_exists ('xdebug_get_headers ' )) {
150
+ $ I ->skipTest ('xdebug extension is not installed ' );
151
+ }
152
+
149
153
$ response = $ this ->getResponseObject ();
150
154
151
155
$ body = ['test ' => 123 ];
@@ -180,6 +184,10 @@ public function testHttpResponseSetStatusCodeSend(UnitTester $I)
180
184
*/
181
185
public function testHttpResponseSetStatusCodeSendMicro (UnitTester $ I )
182
186
{
187
+ if (!function_exists ('xdebug_get_headers ' )) {
188
+ $ I ->skipTest ('xdebug extension is not installed ' );
189
+ }
190
+
183
191
$ application = new Micro ($ this ->container );
184
192
185
193
$ application ->before (new HttpResponseContentMiddleware ());
You can’t perform that action at this time.
0 commit comments