Merged
Conversation
channels, duration were wrongly parsed as string instead of int. ``` PHP Fatal error: Uncaught TypeError: SimplePie\Enclosure::__construct(): Argument #12 ($duration) must be of type ?int, string given in simplepie/src/Enclosure.php:199 ``` And add tests (there were none for those attributes) Downstream issue: * FreshRSS/FreshRSS#8701
…rge-fix-enclosure-int-types
Alkarex
added a commit
to Alkarex/FreshRSS
that referenced
this pull request
Apr 17, 2026
channels, duration were wrongly parsed as string instead of int. ``` PHP Fatal error: Uncaught TypeError: SimplePie\Enclosure::__construct(): Argument #12 ($duration) must be of type ?int, string given in simplepie/src/Enclosure.php:199 ``` And add tests (there were none for those attributes) fix FreshRSS#8701 Upstream PR: * simplepie/simplepie#975 * FreshRSS/simplepie#74
Alkarex
added a commit
to FreshRSS/FreshRSS
that referenced
this pull request
Apr 17, 2026
channels, duration were wrongly parsed as string instead of int. ``` PHP Fatal error: Uncaught TypeError: SimplePie\Enclosure::__construct(): Argument #12 ($duration) must be of type ?int, string given in simplepie/src/Enclosure.php:199 ``` And add tests (there were none for those attributes) fix #8701 Upstream PR: * simplepie/simplepie#975 * FreshRSS/simplepie#74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
channels, duration were wrongly parsed as string instead of int.
And add tests (there were none for those attributes)
Downstream issue:
Upstream PR: