Remove react/filesystem dev dependency; use file_get_contents for file reading#84
Merged
Remove react/filesystem dev dependency; use file_get_contents for file reading#84
Conversation
…le_get_contents Agent-Logs-Url: https://github.com/voku/Simple-PHP-Code-Parser/sessions/8d280c20-80f2-49dd-973b-3e3af60c008c Co-authored-by: voku <264695+voku@users.noreply.github.com>
Agent-Logs-Url: https://github.com/voku/Simple-PHP-Code-Parser/sessions/8d280c20-80f2-49dd-973b-3e3af60c008c Co-authored-by: voku <264695+voku@users.noreply.github.com>
|
Copilot
AI
changed the title
[WIP] Update dependencies for compatibility with PHP 8.4
Remove react/filesystem dev dependency; use file_get_contents for file reading
Apr 11, 2026
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.




react/filesystem ^0.2@devhas never had a stable release, forcing downstream users to setminimum-stability: devin theircomposer.jsonto install this package.Changes
composer.json: Removedreact/asyncandreact/filesystemdependencies entirelyPhpCodeParser.php: Replaced the promise-based async file reading with plainfile_get_contents(); all reads were already beingawait()-ed synchronously so there is no behavioral differenceBefore:
After: