Page MenuHomeDevCentral

Avoid notices in database tests
ClosedPublic

Authored by dereckson on Nov 11 2025, 18:08.
Tags
None
Referenced Files
F25535338: D3880.diff
Thu, Apr 16, 08:04
Unknown Object (File)
Sun, Apr 12, 21:14
Unknown Object (File)
Sun, Apr 12, 14:30
Unknown Object (File)
Sun, Apr 12, 11:17
Unknown Object (File)
Sun, Apr 12, 00:47
Unknown Object (File)
Fri, Apr 3, 14:53
Unknown Object (File)
Fri, Apr 3, 07:11
Unknown Object (File)
Thu, Apr 2, 16: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