Page MenuHomeDevCentral

Avoid notices in database tests
ClosedPublic

Authored by dereckson on Nov 11 2025, 18:08.
Tags
None
Referenced Files
F20212305: D3880.id10046.diff
Tue, Jan 6, 13:04
Unknown Object (File)
Sun, Jan 4, 13:18
Unknown Object (File)
Fri, Jan 2, 13:22
Unknown Object (File)
Tue, Dec 30, 17:11
Unknown Object (File)
Mon, Dec 29, 16:10
Unknown Object (File)
Sun, Dec 28, 02:20
Unknown Object (File)
Sun, Dec 28, 02:20
Unknown Object (File)
Sat, Dec 27, 00:00
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