Page MenuHomeDevCentral

Prune never executed code
ClosedPublic

Authored by dereckson on Jan 10 2016, 01:50.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 16, 09:49
Unknown Object (File)
Wed, Feb 12, 06:37
Unknown Object (File)
Wed, Feb 12, 06:18
Unknown Object (File)
Sun, Feb 9, 08:59
Unknown Object (File)
Sun, Feb 9, 08:59
Unknown Object (File)
Sun, Feb 9, 08:59
Unknown Object (File)
Sun, Feb 9, 08:59
Unknown Object (File)
Fri, Feb 7, 08: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.