Page MenuHomeDevCentral

Refer to service container property instead of using global helper
ClosedPublic

Authored by dereckson on Apr 23 2022, 08:34.
Tags
None
Referenced Files
F6576769: D2677.diff
Thu, Apr 3, 15:39
Unknown Object (File)
Tue, Apr 1, 22:45
Unknown Object (File)
Fri, Mar 14, 16:45
Unknown Object (File)
Feb 26 2025, 09:57
Unknown Object (File)
Feb 14 2025, 01:40
Unknown Object (File)
Feb 13 2025, 16:52
Unknown Object (File)
Feb 13 2025, 16:52
Unknown Object (File)
Feb 13 2025, 16:52
Subscribers
None

Details

Summary

The Illuminate\Foundation\Exceptions\Handler constructor requires
the full container in the constructor, using a service locator pattern.

Test Plan

Run tests

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Passed
Unit
Test Failures
Branch
fix-handlertest
Build Status
Buildable 4206
Build 4458: arc lint + arc unit

Unit TestsBroken

TimeTest
0 ms/usr/home/dereckson/dev/nasqueron/notifications/notifications/tests/Exceptions/HandlerTest.php
Fatal error: Declaration of Nasqueron\Notifications\Tests\Exceptions\HandlerTest::setUp() must be compatible with Illuminate\Foundation\Testing\TestCase::setUp(): void in /usr/home/dereckson/dev/nasqueron/notifications/notifications/tests/Exceptions/HandlerTest.php on line 25

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 23 2022, 12:08
This revision was landed with ongoing or failed builds.May 7 2022, 19:31
This revision was automatically updated to reflect the committed changes.