Page MenuHomeDevCentral

GitHubPayloadAnalyzerConfiguration::getDefaultGroup()
ClosedPublic

Authored by dereckson on Feb 11 2016, 01:51.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 01:22
Unknown Object (File)
Fri, Dec 13, 06:21
Unknown Object (File)
Mon, Dec 9, 21:52
Unknown Object (File)
Sat, Dec 7, 17:49
Unknown Object (File)
Wed, Dec 4, 17:16
Unknown Object (File)
Wed, Dec 4, 17:16
Unknown Object (File)
Wed, Dec 4, 17:16
Unknown Object (File)
Wed, Dec 4, 16:59
Subscribers

Details

Summary

The responsibility to determine the default group were located
inside GitHubPayloadAnalyzer.

As, this is a pure configuration setting, the responsibility is
moved to GitHubPayloadAnalyzerConfiguration.

A constructor is added, to specify project, so we can do two things:

  • in this change, determine a fallback default group when omitted from the configuration
  • in a next change, give it the responsibility to load JSON config
Test Plan

phpunit

Diff Detail

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

Event Timeline

dereckson retitled this revision from to GitHubPayloadAnalyzerConfiguration::getDefaultGroup().
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
dereckson added inline comments.
app/Analyzers/GitHub/GitHubPayloadAnalyzerConfiguration.php
63

This syntax works for phpdoc, as shown in test documentation

This revision is now accepted and ready to land.Feb 11 2016, 04:44
This revision was automatically updated to reflect the committed changes.