Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Do not pass null value to strtolower #21

Merged

Conversation

weierophinney
Copy link
Member

Found this while testing laminas-mail; $wantedName has a default null value, which means that when calling strtolower() on that value, we may raise a deprecation notice under 8.1 as null values are no longer allowed to that function.

Found this while testing laminas-mail; $wantedName has a default `null` value, which means that when calling `strtolower()` on that value, we may raise a deprecation notice under 8.1 as `null` values are no longer allowed to that function.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney added this to the 2.9.1 milestone Sep 20, 2021
@weierophinney weierophinney added the Bug Something isn't working label Sep 20, 2021
@weierophinney weierophinney merged commit 72d21a1 into laminas:2.9.x Sep 20, 2021
@weierophinney weierophinney deleted the hotfix/cast-null-to-empty-string branch September 20, 2021 21:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant