Skip to content

Update lockfiles and use strict PHPUnit assertions - #1150

Merged
jeromegamez merged 2 commits into
8.xfrom
lock-file-maintenance-strict-assertions
Oct 9, 2026
Merged

jeromegamez merged 2 commits into
8.xfrom
lock-file-maintenance-strict-assertions

Conversation

@jeromegamez

Copy link
Copy Markdown
Member

Update the maintained lockfiles and replace ten empty assertions with type-specific checks required by phpstan/phpstan-phpunit 2.1.1. Arrays use strict comparisons, the multicast report uses assertCount(), and the string UID uses assertNotSame('').

Supersedes #1137.

Validation: PHPStan, configured lint, and 64 focused unit tests with 93 assertions pass locally on PHP 8.5. Integration tests require credentials and were skipped.

@codecov

codecov Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff            @@
##                8.x    #1150   +/-   ##
=========================================
  Coverage     88.40%   88.40%           
  Complexity     1519     1519           
=========================================
  Files           158      158           
  Lines          4260     4260           
=========================================
  Hits           3766     3766           
  Misses          494      494           
Flag Coverage Δ Complexity Δ *Carryforward flag
emulator 39.64% <ø> (ø) 1519.00 <ø> (ø)
grpc 1.64% <ø> (ø) 1519.00 <ø> (ø) Carriedforward from f222a07
integration 72.40% <ø> (ø) 1519.00 <ø> (ø) Carriedforward from f222a07
unit 50.83% <ø> (ø) 1519.00 <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@jeromegamez
jeromegamez merged commit 5690f7b into 8.x Oct 9, 2026
26 checks passed
@jeromegamez
jeromegamez deleted the lock-file-maintenance-strict-assertions branch October 9, 2026 23:27
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