Page MenuHomeDevCentral

GitHubPayloadAnalyzerConfiguration::getDefaultGroup()
ClosedPublic

Authored by dereckson on Feb 11 2016, 01:51.
Tags
None
Referenced Files
F3717325: D280.id662.diff
Wed, Nov 6, 03:29
Unknown Object (File)
Thu, Oct 31, 15:52
Unknown Object (File)
Sun, Oct 20, 15:05
Unknown Object (File)
Sun, Oct 20, 03:16
Unknown Object (File)
Mon, Oct 7, 12:37
Unknown Object (File)
Oct 6 2024, 03:44
Unknown Object (File)
Sep 22 2024, 23:16
Unknown Object (File)
Sep 17 2024, 00:49
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.