Passed
Push — dependabot/github_actions/acti... ( 2c5115 )
by
unknown
08:29
created
src/GeographicPoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
             }
173 173
         }
174 174
 
175
-        return '(' . implode(', ', $values) . ')';
175
+        return '('.implode(', ', $values).')';
176 176
     }
177 177
 
178 178
     /**
Please login to merge, or discard this patch.
src/Exception/UnknownSRIDException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 {
15 15
     public function __construct(string $srid)
16 16
     {
17
-        parent::__construct('Unknown SRID: ' . $srid);
17
+        parent::__construct('Unknown SRID: '.$srid);
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Exception/InvalidAxesException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,10 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct(array $allowedAxes)
22 22
     {
23
-        $axisNames = array_map(static function ($allowedAxis) {
23
+        $axisNames = array_map(static function($allowedAxis) {
24 24
             return $allowedAxis->getName();
25 25
         }, $allowedAxes);
26 26
 
27
-        parent::__construct('This CRS has axes: ' . implode(', ', $axisNames));
27
+        parent::__construct('This CRS has axes: '.implode(', ', $axisNames));
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/BritishNationalGridPoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
         $minorLetter = substr(self::GRID_LETTERS, $minorLetterIndex, 1);
173 173
 
174 174
         return [
175
-            $majorLetter . $minorLetter,
175
+            $majorLetter.$minorLetter,
176 176
             substr($easting, 1, $halfLength),
177 177
             substr($northing, 1, $halfLength),
178 178
         ];
Please login to merge, or discard this patch.
src/UnitOfMeasure/Time/Year.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $yearPortion = $this->time - $year;
42 42
         $days = round($yearPortion * 365.25);
43 43
 
44
-        return DateTimeImmutable::createFromFormat('Yz', $year . $days);
44
+        return DateTimeImmutable::createFromFormat('Yz', $year.$days);
45 45
     }
46 46
 
47 47
     public function getValue(): float
Please login to merge, or discard this patch.
src/ProjectedPoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
             }
173 173
         }
174 174
 
175
-        return '(' . implode(', ', $values) . ')';
175
+        return '('.implode(', ', $values).')';
176 176
     }
177 177
 
178 178
     /**
Please login to merge, or discard this patch.
src/CoordinateOperation/AutoConversion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $asGeog = $this->asGeographicValue();
54 54
         $lat = $asGeog->getLatitude()->asDegrees()->getValue();
55 55
         $long = $asGeog->getLongitude()->asDegrees()->getValue();
56
-        $candidates = array_filter($candidates, function (array $candidate) use ($lat, $long, $ignoreBoundaryRestrictions) {
56
+        $candidates = array_filter($candidates, function(array $candidate) use ($lat, $long, $ignoreBoundaryRestrictions) {
57 57
             $operation = CoordinateOperations::getOperationData($candidate['operation']);
58 58
             $ok = true;
59 59
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             return $ok;
94 94
         });
95 95
 
96
-        usort($candidates, static function (array $a, array $b) { return $a['accuracy'] <=> $b['accuracy']; });
96
+        usort($candidates, static function(array $a, array $b) { return $a['accuracy'] <=> $b['accuracy']; });
97 97
 
98 98
         if (!$candidates) {
99 99
             throw new UnknownConversionException('Unable to perform conversion, please file a bug if you think this is incorrect');
Please login to merge, or discard this patch.
src/UnitOfMeasure/Rate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
     public function getUnitName(): string
129 129
     {
130
-        return $this->change->getUnitName() . ' per ' . $this->time->getUnitName();
130
+        return $this->change->getUnitName().' per '.$this->time->getUnitName();
131 131
     }
132 132
 
133 133
     public function __toString(): string
Please login to merge, or discard this patch.