GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-8 lines in 2 locations

src/CloudWatchScript/Plugins/DiskMonitoring.php 1 location

@@ 52-59 (lines=8) @@
49
    /**
50
     * @return array Alarm min and max for number of apache process
51
     */
52
    public function getAlarms()
53
    {
54
        return array(
55
                array("ComparisonOperator" => "GreaterThanThreshold",
56
                        "Threshold" => $this->maxUtil,
57
                        "Name" => $this->name . " exceed " . $this->config->maxUtil . " %")
58
        );
59
    }
60
}
61

src/CloudWatchScript/Plugins/MemoryMonitoring.php 1 location

@@ 55-62 (lines=8) @@
52
    /**
53
     * @return array Alarm max for memory used
54
     */
55
    public function getAlarms()
56
    {
57
        return array(
58
                array("ComparisonOperator" => "GreaterThanThreshold",
59
                        "Threshold" => $this->maxUsed,
60
                        "Name" => $this->name . " exceed " . $this->config->maxUtil . " %")
61
        );
62
      }
63
  }
64