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

Fix PHP 8.1 deprecations #234

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Fix PHP 8.1 deprecations #234

merged 1 commit into from
Oct 25, 2022

Conversation

smoench
Copy link
Contributor

@smoench smoench commented Sep 29, 2022

solves #225

Fixes Deprecated: Return type of Phrase\\Model\\Locale::offset*($offset) should either be compatible with ArrayAccess::offset*(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice deprecation with PHP 8.1.

@smoench
Copy link
Contributor Author

smoench commented Oct 6, 2022

@theSoenke Can you maybe look into this here? Thanks in advance :-)

@forelabs
Copy link
Member

@theSoenke a new php release will be required

@theSoenke theSoenke merged commit db3d9df into phrase:master Oct 25, 2022
@smoench smoench deleted the patch-1 branch October 25, 2022 09:47
@theSoenke
Copy link
Collaborator

Thanks for the fix @smoench! Just released it with version 1.5.2

@smoench
Copy link
Contributor Author

smoench commented Oct 25, 2022

Thank you @theSoenke!

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