Page MenuHomeDevCentral

Prune never executed code
ClosedPublic

Authored by dereckson on Jan 10 2016, 01:50.
Tags
None
Referenced Files
F3979075: D214.diff
Tue, Jan 7, 13:10
Unknown Object (File)
Sat, Dec 21, 14:54
Unknown Object (File)
Sun, Dec 15, 10:10
Unknown Object (File)
Sun, Dec 15, 09:55
Unknown Object (File)
Wed, Dec 11, 18:08
Unknown Object (File)
Dec 5 2024, 14:20
Unknown Object (File)
Dec 4 2024, 20:11
Unknown Object (File)
Dec 4 2024, 20:11
Subscribers

Details

Reviewers
dereckson
Commits
Unknown Object (Diffusion Commit)
rNOTIFbe0c324ed737: Prune never executed code
Summary

GitHubGateController::onPost contains an abort instruction.

This throws an exception, so return isn't needed.

This has been noticed look at the D213 test coverage.

Test Plan
  • Fire a GitHub valid payload
  • Fire a GitHub invalid payload
  • phpunit

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Passed
Unit
No Test Coverage
Branch
controller-dead-code

Event Timeline

dereckson retitled this revision from to Prune never executed code.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jan 10 2016, 02:07
This revision was automatically updated to reflect the committed changes.