Repository navigation
Release/v0.3.3 - #21
Merged
Merged
Conversation
…rity **Details:** - Set `$max` to default to the generator's maximum value (`mt_getrandmax()`) when not explicitly provided. - Removed redundant `mt_getrandmax()` calls by storing the generator's maximum in a `$maximum` variable. - Updated validation logic to ensure `$max` is appropriately bounded between `$min` and the generator's maximum value. - Improved PHPDoc to clarify the default behavior of the `$max` parameter. This update ensures clearer behavior and optimizes internal handling of random number generation boundaries.
**Details:** - Added `@phpstan-ignore` in `Arr\Access::array_rand` to suppress type-related warnings for `$number` annotations. - Simplified conditional checks in `Random` class: - Removed redundant `!== null` checks for `$max` in boundary validations. - Ensured proper handling of `$max` and `$min` consistency. - Adjusted `mt_rand` call to avoid nullable `$max`, ensuring type strictness. This update enhances static analysis compatibility and simplifies validation logic for random value handling.
**Details:** - Added a new section for version `v0.3.3` with release date, GitHub comparison link, and details: - Improved `Random` class maximum value handling for enhanced consistency and clarity. - Ensures accurate changelog updates for version tracking and improved documentation.
**Details:** - Updated the version badge in `Runtime/README.md` from `v0.3.2` to `v0.3.3`. - Ensures the displayed version in documentation aligns with the latest release for consistency and transparency.
dieselxxx
marked this pull request as ready for review
October 12, 2026 07:32
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.3.3Related Branches
Description
[Improve Random class maximum value handling for consistency and clarity]
Release Overview
Included Changes
Pre-release Verification
Testing & Validation
System Validation
Release Readiness
Versioning
Semantic Versioning compliance:
Tagging:
v0.3.3will 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