Repository navigation
Require PHP 7.4 or newer - #1006
Merged
Merged
Conversation
jtojnar
reviewed
Oct 29, 2026
Art4
reviewed
Oct 29, 2026
Art4
approved these changes
Oct 31, 2026
This was referenced Nov 5, 2026
Alkarex
added a commit
to FreshRSS/simplepie
that referenced
this pull request
Nov 13, 2026
Merge upstream Resolving conflicts with: * Require PHP 7.4 or newer simplepie#1006 * File,Psr18Client: Remove support for local files simplepie#994
Alkarex
added a commit
to FreshRSS/FreshRSS
that referenced
this pull request
Nov 14, 2026
In particular: * File,Psr18Client: Remove support for local files simplepie/simplepie#994 * Parser: ignore whitespace before the XML declaration simplepie/simplepie#1005 * Require PHP 7.4 or newer simplepie/simplepie#1006, simplepie/simplepie#992 * Parser: treat https Atom 1.0 namespace as Atom simplepie/simplepie#1010
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.
This PR raises the minimum PHP version to 7.4, as proposed in #963. Which release drops 7.2 and 7.3 is up to the maintainers, so I haven't put a version number in the README.
>=7.4.0, and the 7.2 and 7.3 jobs are removed from the CI matrixSimplePieconstructor now asks for 7.4Fileclass now setsCURLOPT_SUPPRESS_CONNECT_HEADERSwhen the constant exists, which resolves the TODO there. Where it doesn't exist (libcurl older than 7.54), the old stripping throughParser::prepareHeaders()still runs.?? nullfallbacks inIRI::parse_iri()forPREG_UNMATCHED_AS_NULLare removed, since PHP 7.4 always sets those groupsphpunit gives the same 14 failures as master (2102 tests), and phpstan and php-cs-fixer are clean. There are no new tests, because the change removes code paths. I haven't tested the proxy CONNECT path against a real proxy.