Skip to content
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

feat: update to use laravel/serializable-closure package #29

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

owenvoke
Copy link
Contributor

@owenvoke owenvoke commented Jan 18, 2022

This allows supporting PHP 8.1, and is required for us to continue using this package with Box, as 4.x of opis/closure requires FFI, which afaik isn't wanted for Box. Happy to make any changes if required. 👍🏻

It looks like Travis doesn't yet support PHP 8.1 (unless it's hardcoded to 8.1.0) 🤷🏻

Also, looks like the quotes were changed in error messages as part of PHP 8.0 (see php/php-src#5590), so I've updated the testUnserializableClassStaticMethod() test to cover this.


NOTE: This can be rebased after #30 and #31 have been merged. 👍🏻

composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
@kelunik
Copy link
Member

kelunik commented Feb 2, 2022

Are there any compatibility concerns or is it fine to release this as v1.1.0?

@theofidry
Copy link

@kelunik AFAICS this should not introduce any API changes. I would not recommend a patch release still but bumping the minor version looks fine

@kelunik
Copy link
Member

kelunik commented Feb 2, 2022

Yeah, we usually also increase the minor version on PHP version increments I think, independent from the dependency change.

@owenvoke
Copy link
Contributor Author

owenvoke commented Feb 2, 2022

I'll rebase this and resolve the issues mentioned hopefully tomorrow morning. 👍🏻 Cheers.

@owenvoke
Copy link
Contributor Author

owenvoke commented Feb 3, 2022

@kelunik / @theofidry, that should now all be sorted. 🥳 Let me know if there's anything else required. 👍🏻

@kelunik kelunik merged commit 221ee7c into amphp:master Feb 3, 2022
@kelunik
Copy link
Member

kelunik commented Feb 3, 2022

Thanks! I really like how focused the PR is now. 😊

@owenvoke owenvoke deleted the feature/serializable-closure branch February 3, 2022 12:32
@owenvoke
Copy link
Contributor Author

owenvoke commented Feb 3, 2022

Yeah, much nicer to have each component update in separate PRs. 👍🏻

@owenvoke
Copy link
Contributor Author

owenvoke commented Feb 3, 2022

On a side note @kelunik, it looks like Travis CI is no longer running on the repository. Would you be interested in me opening a PR to migrate to GitHub Actions? Or, if not, I guess it might be worth re-enabling Travis CI. 👍🏻

@kelunik
Copy link
Member

kelunik commented Feb 3, 2022

I know, already thought about asking you to update that as well, but just did it myself. 😄

@kelunik
Copy link
Member

kelunik commented Feb 3, 2022

I've tagged v1.1.0 now. 🎉

@theofidry
Copy link

Thanks a lot!

@owenvoke
Copy link
Contributor Author

owenvoke commented Feb 4, 2022

Thank you!

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

Successfully merging this pull request may close these issues.

4 participants