Page MenuHomeDevCentral

Avoid notices in database tests
ClosedPublic

Authored by dereckson on Nov 11 2025, 18:08.
Tags
None
Referenced Files
F24526521: D3880.id10047.diff
Wed, Feb 25, 11:20
F24526414: D3880.id10047.diff
Wed, Feb 25, 11:13
F24526411: D3880.id10047.diff
Wed, Feb 25, 11:13
Unknown Object (File)
Thu, Feb 19, 04:47
Unknown Object (File)
Thu, Feb 19, 04:20
Unknown Object (File)
Tue, Feb 17, 19:41
Unknown Object (File)
Tue, Feb 17, 19:32
Unknown Object (File)
Sat, Feb 14, 02:56
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