Skip to content

chore: prepare major release 5.0.0#770

Open
phil-davis wants to merge 1 commit into
sabre-io:masterfrom
phil-davis:prepare-5.0.0
Open

chore: prepare major release 5.0.0#770
phil-davis wants to merge 1 commit into
sabre-io:masterfrom
phil-davis:prepare-5.0.0

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

5.0.0 (2026-06-15)

This major release v5 declares function parameter and return types across the
codebase. Users will need to be careful to call functions/methods with the
correct types.

Support for PHP below 8.2 has been dropped.
This release supports PHP 8.2 and up.

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.66%. Comparing base (55cb62c) to head (bfe769c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #770   +/-   ##
=========================================
  Coverage     98.66%   98.66%           
  Complexity     1757     1757           
=========================================
  Files            71       71           
  Lines          5163     5163           
=========================================
  Hits           5094     5094           
  Misses           69       69           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@phil-davis

Copy link
Copy Markdown
Contributor Author

Notes:
We haven't increased the phpstan level here. There could be lots of changes to do, such as #498 (that has been sitting there for years). Or adding array shape PHPdoc throughout, and so on. But that all requires quite a bit of effort.

We have applied rector to the code, and having all the parameter and return types is "a good thing".

I am proposing to make this major version 5, so that everyone can decide when they want to upgrade.

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.

1 participant