Repository navigation
Release/v0.5.1 - #27
Merged
Merged
Conversation
**Details:** - Introduced multiple stream utility classes to enhance the `Runtime` component, adhering to PHP 8.2 standards: - `Read`: Provides low-level wrappers for native PHP stream reading functions, supporting byte, line, and character reads, as well as stream passthrough and parsing. - `Write`: Implements utilities for writing, flushing buffered output, and truncating stream data. - `Position`: Facilitates stream position manipulation, including seeking, rewinding, and checking for EOF. - `Handle`: Offers APIs for stream creation (`open`) and closure (`close`), with enum-based safety using `OpenMode`. - `Lock`: Implements advisory locking operations with support for non-blocking checks. - `Metadata`: Retrieves detailed stream metadata, including statistics via native functions like `fstat`. - `Enum/OpenMode`: Defines an extensive set of enums for robust stream opening behaviors (binary modes included). - Enforced immutability and type safety with the `readonly` keyword. - Added PHPDoc for all methods, ensuring clear documentation of parameters, return types, and method behavior. - Preserved native PHP stream functionality while improving accessibility through structured and consistent APIs. This update significantly extends the `Runtime` component, providing robust utilities for stream management and improving project consistency.
dieselxxx
marked this pull request as ready for review
November 4, 2026 12:40
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.
🔖 Release Pull Request
Version
v0.5.1Related Branches
Description
Add comprehensive stream utilities in
RuntimeRelease Overview
Pre-release Verification
Testing & Validation
System Validation
Release Readiness
Versioning
Semantic Versioning compliance:
Tagging:
v0.5.1will be createdDeployment
Target environment:
Deployment notes:
Checklist
CHANGELOG.mdupdatedREADME.mdupdated (if needed)Risks / Impact
Potential Risks
Breaking changes:
Deployment risks:
Rollback considerations:
Notes
Release Notes
Deployment Instructions
Known Issues