Skip to content

Conversation

@reinder83
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the minimum PHP version requirement from 8.0 to 8.1, adds test coverage for newer PHP versions (8.3, 8.4, 8.5), and improves type safety by adding proper generic type annotations to the Iterator implementation.

  • Bumps minimum PHP version from 8.0 to 8.1 in composer.json
  • Adds testing for PHP 8.3, 8.4, and 8.5 while removing 8.0 from the test matrix
  • Adds proper generic type annotations for Iterator interface and removes obsolete PHPStan configuration

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
composer.json Updates PHP version requirements from ^8.0 to ^8.1 in both require and platform config
.github/workflows/test.yml Adds PHP 8.3, 8.4, and 8.5 to the test matrix and removes 8.0
src/BinaryFlags.php Adds generic type annotation @implements Iterator<int|float, string> to properly document Iterator implementation
phpstan.neon.dist Removes checkGenericClassInNonGenericObjectType setting now that proper generic types are specified

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@reinder83 reinder83 merged commit abd28bb into master Dec 11, 2025
21 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants