Skip to content

Bump thecodingmachine/safe to v3 #1165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Bump thecodingmachine/safe to v3 #1165

merged 2 commits into from
Feb 24, 2025

Conversation

the-pulli
Copy link
Contributor

Summary

Bumps thecodingmachine/safe to v3, and all corresponding deps to their current version to avoid deprecation warnings in PHP 8.4.
Removed the usage of \Safe\sprintf in favor of pure sprintf, because sprintf doesn't return false on error as of PHP 8.0.

Tested locally with PHP 8.3 and PHP 8.4 without issues.

Type of change:

  • Misc. change (internal, infrastructure, maintenance, etc.)

Checklist:

  • Existing tests have been adapted and/or new tests have been added
  • Add a CHANGELOG.md entry
  • Update the README.md
  • Code style has been fixed via composer fix-style

@mfn
Copy link
Collaborator

mfn commented Feb 13, 2025

Good move, let's do it. Of course a bit more work is needed because of the phpstan upgrade :/

@the-pulli
Copy link
Contributor Author

Nice to hear! Yeah, I just saw that. Didn't check it locally. Just ran the tests and thought I'll be good to go 🙈

@mfn
Copy link
Collaborator

mfn commented Feb 13, 2025

phpstan never lets you easy off the hook ;)

@the-pulli
Copy link
Contributor Author

I just noticed that 🙃

@duncanmcclean duncanmcclean mentioned this pull request Feb 24, 2025
9 tasks
Copy link
Collaborator

@mfn mfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to #1168 / @duncanmcclean we've a winner!

@mfn mfn merged commit 6de3774 into rebing:master Feb 24, 2025
29 checks passed
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.

2 participants