Skip to content

chore: set failOnDeprecation in phpunit - #788

Merged
phil-davis merged 2 commits into
sabre-io:masterfrom
phil-davis:failOnDeprecation
Sep 4, 2026
Merged

phil-davis merged 2 commits into
sabre-io:masterfrom
phil-davis:failOnDeprecation

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Phillip Davis <phil@jankaritech.com>
@codecov

codecov Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #788   +/-   ##
=========================================
  Coverage     98.66%   98.66%           
  Complexity     1748     1748           
=========================================
  Files            71       71           
  Lines          5154     5154           
=========================================
  Hits           5085     5085           
  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.

This avoids deprecation warnings from phpunit in PHP 8.5 about
the code using the null value of group as an array key.

Note that in PHP 8, trying to use null as an array key results
in the empty string being used as the array key. So this was the
underlying behavior anyway, but better to now explicitly use the
empty string.

Signed-off-by: Phillip Davis <phil@jankaritech.com>
@phil-davis
phil-davis merged commit 01d1edc into sabre-io:master Sep 4, 2026
6 checks passed
@phil-davis
phil-davis deleted the failOnDeprecation branch September 4, 2026 03:39
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