Skip to content

Conversation

owenvoke
Copy link
Contributor

We noticed that on PHP 8.1, we are receiving the following deprecation notice in Sentry.

json_encode(): Passing null to parameter #2 ($flags) of type int is deprecated in /var/www/vendor/laravel/octane/src/Commands/Concerns/InteractsWithIO.php on line 237

It looks like this is just a typo, and the verbosity should be passed to info() not to json_encode(). 👍🏻

@taylorotwell taylorotwell merged commit 64e5884 into laravel:1.x Nov 16, 2022
@owenvoke owenvoke deleted the bugfix/json-encode-typo branch November 16, 2022 22:08
@driesvints
Copy link
Member

@owenvoke this PR seems to have broken our builds. Can you send in a fix for that?

@owenvoke
Copy link
Contributor Author

@driesvints, are you meaning the tests? They were broken for 4 days before my PR. 🤔 I'm not entirely sure what the issue is, will see if I can take a look. 👍🏻

@driesvints
Copy link
Member

Weird as they seem to start breaking with your PR:

image

@owenvoke
Copy link
Contributor Author

Yeah, the scheduled daily tests were failing. 👀
https://github.com/laravel/octane/actions/workflows/tests.yml

Will look into it shortly.

@driesvints
Copy link
Member

@owenvoke I see. Thanks for pointing that out and looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants