Passed
Pull Request — master (#38)
by Robbie
02:34
created
src/Reports/BrokenExternalLinksReport.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function title()
27 27
     {
28
-        return _t(__CLASS__ . '.EXTERNALBROKENLINKS', "External broken links report");
28
+        return _t(__CLASS__.'.EXTERNALBROKENLINKS', "External broken links report");
29 29
     }
30 30
 
31 31
     public function columns()
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             "Created" => "Checked",
35 35
             'Link' => array(
36 36
                 'title' => 'External Link',
37
-                'formatting' => function ($value, $item) {
37
+                'formatting' => function($value, $item) {
38 38
                     return sprintf(
39 39
                         '<a target="_blank" href="%s">%s</a>',
40 40
                         Convert::raw2att($item->Link),
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             'HTTPCodeDescription' => 'HTTP Error Code',
46 46
             "Title" => array(
47 47
                 "title" => 'Page link is on',
48
-                'formatting' => function ($value, $item) {
48
+                'formatting' => function($value, $item) {
49 49
                     $page = $item->Page();
50 50
                     return sprintf(
51 51
                         '<a href="%s">%s</a>',
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
         $fields = parent::getCMSFields();
85 85
 
86
-        $runReportButton = FormAction::create('createReport', _t(__CLASS__ . '.RUNREPORT', 'Create new report'))
86
+        $runReportButton = FormAction::create('createReport', _t(__CLASS__.'.RUNREPORT', 'Create new report'))
87 87
             ->addExtraClass('btn-primary external-links-report__create-report')
88 88
             ->setUseButtonTag(true);
89 89
         $fields->push($runReportButton);
Please login to merge, or discard this patch.