Page MenuHomeDevCentral

Avoid notices in database tests
ClosedPublic

Authored by dereckson on Nov 11 2025, 18:08.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 17:40
Unknown Object (File)
Sun, Jun 14, 04:45
Unknown Object (File)
Wed, Jun 10, 04:08
Unknown Object (File)
Tue, Jun 9, 16:51
Unknown Object (File)
Tue, Jun 9, 02:48
Unknown Object (File)
Sat, Jun 6, 15:11
Unknown Object (File)
Sat, Jun 6, 15:11
Unknown Object (File)
Sat, Jun 6, 01:58
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