Page MenuHomeDevCentral

GateController::logRequest refactoring
ClosedPublic

Authored by dereckson on Jan 11 2016, 17:32.
Tags
None
Referenced Files
F3750063: D219.id516.diff
Sat, Nov 16, 20:37
F3749911: D219.diff
Sat, Nov 16, 19:00
Unknown Object (File)
Wed, Nov 13, 13:47
Unknown Object (File)
Sun, Nov 10, 13:16
Unknown Object (File)
Sun, Nov 10, 06:47
Unknown Object (File)
Sat, Nov 9, 15:29
Unknown Object (File)
Sat, Nov 9, 13:03
Unknown Object (File)
Mon, Nov 4, 07:13
Subscribers

Details

Reviewers
dereckson
Commits
Unknown Object (Diffusion Commit)
rNOTIFcc622917e76d: GateController::logRequest refactoring
Summary

Any gate without any specific requirement can call logRequest
without argument.

Other gates can pass an array with extra contextual data to log.

The log format doesn't change.

Test Plan

tail -n 10 -f storage/logs/laravel.log && phpunit

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to GateController::logRequest refactoring.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.

Code documentation restored.

app/Http/Controllers/Gate/GitHubGateController.php
141–142

Comments to restore.

dereckson marked an inline comment as done.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jan 11 2016, 17:34
This revision was automatically updated to reflect the committed changes.

Test coverage. This change brings full coverage for GateController class.