Page MenuHomeDevCentral

Avoid notices in database tests
ClosedPublic

Authored by dereckson on Nov 11 2025, 18:08.
Tags
None
Referenced Files
F52478501: D3880.id10047.diff
Fri, Oct 2, 21:22
F52434196: D3880.diff
Fri, Oct 2, 15:34
F52419113: D3880.id10047.diff
Fri, Oct 2, 13:29
F52416721: D3880.id10047.diff
Fri, Oct 2, 13:10
Unknown Object (File)
Thu, Oct 1, 05:03
Unknown Object (File)
Thu, Oct 1, 03:49
Unknown Object (File)
Wed, Sep 30, 09:05
Unknown Object (File)
Wed, Sep 30, 00:25
Subscribers
None

Details

Summary

This fixes the following issue:

  • notice when trying to read "errno" key
  • PHPUnit notice and "N" test status, when using createMock but not calling expect

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Errors
SeverityLocationCodeMessage
Errordatabase/tests/Exceptions/SqlExceptionTest.php:29PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Unit
Test Failures
Branch
main
Build Status
Buildable 6183
Build 6467: arc lint + arc unit