Skip to content

Makes serializable closure work with PHP 8.1#793

Closed
nunomaduro wants to merge 1 commit intoPHP-DI:masterfrom
nunomaduro:master
Closed

Makes serializable closure work with PHP 8.1#793
nunomaduro wants to merge 1 commit intoPHP-DI:masterfrom
nunomaduro:master

Conversation

@nunomaduro
Copy link
Copy Markdown
Contributor

This pull request makes PHP DI support PHP 8.1 regarding serializable closures. Waiting for a stable version of Laravel Serializable Closures.

@mnapoli
Copy link
Copy Markdown
Member

mnapoli commented Sep 14, 2021

🙏 thank you @nunomaduro!

@barryvdh
Copy link
Copy Markdown

Version 1.0.0 has been released in the meantime, so this probably can be converted to a normal PR, or re-run the tests?

@nunomaduro nunomaduro closed this Nov 27, 2021
hemberger added a commit to smrealms/smr that referenced this pull request Jan 3, 2022
PHP-DI doesn't support PHP 8.1, because it depends on a library
called `opis/closure` that uses the deprecated Serializable interface.
Ignore these warnings temporarily until support is added.

See PHP-DI/PHP-DI#793 for the relevant PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants