Page MenuHomeDevCentral

GateController::logRequest refactoring
ClosedPublic

Authored by dereckson on Jan 11 2016, 17:32.
Tags
None
Referenced Files
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
Unknown Object (File)
Sat, Oct 26, 12:34
Unknown Object (File)
Fri, Oct 25, 13:35
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 Passed
Unit
No Test Coverage
Branch
logRequest

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.