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

PHP 8.4 compat nits #182

Merged
merged 1 commit into from
Sep 4, 2024
Merged

PHP 8.4 compat nits #182

merged 1 commit into from
Sep 4, 2024

Conversation

paragonie-security
Copy link
Contributor

Found a few more nits that could impact PHP 8.4

@paragonie-security paragonie-security merged commit a673d5f into master Sep 4, 2024
5 checks passed
@paragonie-security paragonie-security deleted the php-8.4-fixes branch September 4, 2024 12:51
@@ -104,7 +104,7 @@ public function offsetUnset($offset): void
* @psalm-suppress ImplementedReturnTypeMismatch
*/
#[ReturnTypeWillChange]
Copy link
Contributor

Choose a reason for hiding this comment

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

What with the PHP minimum having been raised to PHP 8.1+, are the #[ReturnTypeWillChange] attributes still needed ? I'd think those can be removed now (and the return type added).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. We'll look at this in the future.

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