Docs, CI matrix, and small cleanups before 0.4.0 - #37
Merged
Merged
Conversation
- decode() returns a hex string or a nested array, not only an array, and accepts input with or without the 0x prefix - document accepted input types for encode(): hex strings are encoded byte for byte, numeric strings as text, integers must be non-negative and <= PHP_INT_MAX - document the exceptions thrown by encode() and decode() Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
composer.json allows ^7.1 | ^8.0 but CI only ran 7.3, 7.4 and 8.0. Test 7.1 through 8.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Before PHP 8.2, str_split('') returns [''] instead of [], so ord('')
produced a single 00 byte for the empty string. The RLP encoder uses
the utf8 branch, so RLP output was not affected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- composer.json: "PHP" -> "php", the conventional platform package name - .gitignore: add .phpunit.result.cache generated by PHPUnit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
List the breaking changes and fixes since 0.3.5, including the migration note for integer quantities passed as hex. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #37 +/- ##
=========================================
Coverage 96.55% 96.55%
- Complexity 68 69 +1
=========================================
Files 3 3
Lines 174 174
=========================================
Hits 168 168
Misses 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
🤖 Generated with Claude Code (https://claude.com/claude-code)