Skip to content

Can't pass null to non-nullable arguments - #524

Closed
Denoder wants to merge 5 commits into
wintercms:wip/1.2from
Denoder:patch-2
Closed

Denoder wants to merge 5 commits into
wintercms:wip/1.2from
Denoder:patch-2

Conversation

@Denoder

@Denoder Denoder commented Apr 5, 2022

Copy link
Copy Markdown
Contributor

This is in regards to: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg

I'm getting this deprecation warning throughout all of winter with php 8.1 and it's happening in both winter and storm

Teranode added 2 commits April 4, 2022 20:12
This is in regards to: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg

I'm getting this deprecation warning throughout all of winter with php 8.1 and it's happening in both winter and storm
Comment thread modules/backend/widgets/Lists.php Resolved
@LukeTowers LukeTowers added this to the v1.2.0 milestone Apr 5, 2022
@LukeTowers LukeTowers added maintenance PRs that fix bugs, are translation changes or make only minor changes Status: Testing Needed labels Apr 5, 2022
Denoder pushed a commit to Denoder/storm that referenced this pull request Apr 12, 2022
extension of: wintercms/winter#524

There should be a better way of handling this.
@mjauvin

mjauvin commented Jul 3, 2022

Copy link
Copy Markdown
Member

@teranode are you still getting those warnings? If so, where and how? I'm running 8 projects on latest wip/1.2 and have not seen those.

@Denoder

Denoder commented Jul 4, 2022

Copy link
Copy Markdown
Contributor Author

I went back to php8.0 cause the errors were getting pretty annoying, so Idk if it's still happening, I'll check tomorrow to see if it's still occurring

LukeTowers pushed a commit to wintercms/storm that referenced this pull request Jul 9, 2022
@LukeTowers

Copy link
Copy Markdown
Member

@teranode if you could check to see if this is still a problem without your changes and then resubmit the PR if it is that would be great; thanks!

@LukeTowers LukeTowers closed this Jul 9, 2022
@LukeTowers LukeTowers added needs response Issues/PRs where a maintainer is awaiting a response from the submitter and removed Status: Testing Needed labels Jul 9, 2022
@Denoder

Denoder commented Jul 9, 2022

Copy link
Copy Markdown
Contributor Author

@LukeTowers yes it is still happening with php 8.1

image

@Denoder

Denoder commented Jul 9, 2022

Copy link
Copy Markdown
Contributor Author

There's also this one, I've not seen any indication of str_starts_with being use, but a lot of starts_with being used so it's complicated for me as I can't root it down.
image

@mjauvin mjauvin removed this from the v1.2.0 milestone Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PRs that fix bugs, are translation changes or make only minor changes needs response Issues/PRs where a maintainer is awaiting a response from the submitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants