Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Fix deprecated null potentially being passed to strpos() #523

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

amcsi
Copy link
Contributor

@amcsi amcsi commented Apr 4, 2022

Fixes this notice coming from PHP 8.1:

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vendor/swooletw/laravel-swoole/src/Transformers/Request.php on line 95

@amcsi amcsi changed the base branch from develop to master April 6, 2022 07:06
@brainiac84
Copy link

@Arkanius please take a look when you can on that tiny change, it blocks an upgrade to php8.1

@Arkanius Arkanius merged commit 8e01730 into swooletw:master Mar 13, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants