Passed
Push — release_2_1 ( c45181...103168 )
by Tomasz
09:47
created
core/CAT.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         parent::__construct();
110 110
         common\Entity::intoThePotatoes();
111 111
 
112
-        $this->catVersionString = sprintf("Unreleased %s Git Revision"    , "<a href='https://github.com/GEANT/CAT/tree/master/Changes.md'>") . "</a>";
112
+        $this->catVersionString = sprintf("Unreleased %s Git Revision", "<a href='https://github.com/GEANT/CAT/tree/master/Changes.md'>")."</a>";
113 113
 
114 114
         if (CAT::RELEASE_VERSION) {
115 115
             $major = CAT::VERSION_MAJOR;
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
             $patch = CAT::VERSION_PATCH;
118 118
             $extra = CAT::VERSION_EXTRA;
119 119
             $temp_version = "CAT-$major.$minor";
120
-            $branch = "release_$major" . "_$minor";
120
+            $branch = "release_$major"."_$minor";
121 121
             if (CAT::VERSION_PATCH != 0) {
122 122
                 $temp_version .= ".$patch";
123 123
             }
124 124
             if (CAT::VERSION_EXTRA != "") {
125 125
                 $temp_version .= "-$extra";
126 126
             }
127
-            $this->catVersionString = sprintf("Release <a href='%s'>%s</a>", "https://github.com/GEANT/CAT/tree/" . $branch . "/Changes.md", $temp_version);
127
+            $this->catVersionString = sprintf("Release <a href='%s'>%s</a>", "https://github.com/GEANT/CAT/tree/".$branch."/Changes.md", $temp_version);
128 128
 
129 129
         }
130 130
         $product = \config\Master::APPEARANCE['productname'];
@@ -132,9 +132,9 @@  discard block
 block discarded – undo
132 132
         $maxYear = self::COPYRIGHT_MAX_YEAR;
133 133
         $holder = self::COPYRIGHT_HOLDER;
134 134
         $consortia = self::COPYRIGHT_CONSORTIA;
135
-        $this->catCopyright = "$product - " . $this->catVersionString . " &copy; $minYear-$maxYear $holder<br/>on behalf of $consortia; and others <a href='copyright.php'>Full Copyright and Licenses</a>";
135
+        $this->catCopyright = "$product - ".$this->catVersionString." &copy; $minYear-$maxYear $holder<br/>on behalf of $consortia; and others <a href='copyright.php'>Full Copyright and Licenses</a>";
136 136
         $this->catCopyrifhtAndLicense = "&copy; $minYear-$maxYear $holder<br/>on behalf of $consortia; and others <a href='copyright.php'>Full Copyright and Licenses</a>";
137
-        $this->catVersion = "$product<br>" . $this->catVersionString;
137
+        $this->catVersion = "$product<br>".$this->catVersionString;
138 138
 
139 139
         /* Federations are created in DB with bootstrapFederation, and listed via listFederations
140 140
          */
Please login to merge, or discard this patch.