Page MenuHomeDevCentral

Improve code guidelines for exception handler
ClosedPublic

Authored by dereckson on Dec 31 2016, 20:56.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 16, 04:12
Unknown Object (File)
Sat, Jun 15, 17:29
Unknown Object (File)
Sat, Jun 15, 07:55
Unknown Object (File)
Fri, Jun 14, 10:15
Unknown Object (File)
Wed, Jun 12, 10:56
Unknown Object (File)
Tue, Jun 11, 01:28
Unknown Object (File)
Mon, Jun 10, 13:12
Unknown Object (File)
Sun, Jun 9, 08:06
Subscribers

Details

Summary

The class had still the autogenerated style of Laravel
instead to use our code base guidelines:

Quick cleanup:

  • Drop a method only calling parent method
  • Sort by alphabetical and logic order use clauses
  • Add PHP 7 return types
  • Document more richly arrays as type[]
  • Respect Nasqueron code style:
    • Comments are 3rd person
    • Brackets on the same line
Test Plan

Run tests

Diff Detail

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

Event Timeline

dereckson edited the summary of this revision. (Show Details)
dereckson edited edge metadata.
This revision is now accepted and ready to land.Dec 31 2016, 21:00
This revision was automatically updated to reflect the committed changes.