Skip to content

Prepare v2.1.0 release#15

Merged
reinder83 merged 11 commits intomasterfrom
updates
Feb 27, 2026
Merged

Prepare v2.1.0 release#15
reinder83 merged 11 commits intomasterfrom
updates

Conversation

@reinder83
Copy link
Owner

@reinder83 reinder83 commented Feb 26, 2026

Summary

  • prepare tests to run in parallel to keep CI efficient
  • switch the default preset to the per profile and re-run pint formatting while avoiding newlines between constants
  • plan for a future 3.0.0 release with breaking mask changes and document it in README/release notes before publishing
  • add Enum based flags

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 modernizes the project’s test/tooling setup by migrating the existing PHPUnit-style test class to Pest, introducing baseline Rector configuration, and updating PHPUnit configuration to align with newer PHPUnit versions.

Changes:

  • Add Pest bootstrap (tests/Pest.php) and convert BinaryFlagsTest from a PHPUnit\Framework\TestCase class to Pest tests.
  • Add a rector.php configuration for applying Rector to src/ and tests/.
  • Update phpunit.xml for PHPUnit 10-style configuration and adjust composer.json dev tooling dependencies (Pest/Pint/Rector) and PHP version constraints.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/Pest.php Adds Pest bootstrap configuration for the test suite.
tests/BinaryFlagsTest.php Migrates the test suite from PHPUnit class methods to Pest DSL tests.
rector.php Introduces Rector config targeting src/ and tests/.
phpunit.xml Updates PHPUnit configuration to the PHPUnit 10 schema and <source> layout.
composer.json Updates dev dependencies and changes minimum PHP/platform configuration.

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

@reinder83 reinder83 changed the title Update tests and preset handling Prepare v2.1.0 release Feb 27, 2026
@reinder83 reinder83 self-assigned this Feb 27, 2026
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

Copilot reviewed 35 out of 36 changed files in this pull request and generated 3 comments.


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

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

Copilot reviewed 35 out of 36 changed files in this pull request and generated 3 comments.


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

@reinder83 reinder83 merged commit ae6cb06 into master Feb 27, 2026
5 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