Passed
Branch master (0275c6)
by Sergey
04:55
created
src/Hourly.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,6 @@
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param int $hour
94 93
      *
95 94
      * @return Hour
96 95
      */
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast;
12 12
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     {
71 71
         $this->summary = $data['summary'];
72 72
 
73
-        foreach($data['hours'] as $hour) {
73
+        foreach ($data['hours'] as $hour) {
74 74
             $this->hours[] = (new Hour())->setData($hour);
75 75
         }
76 76
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         }
103 103
 
104 104
         /** @var Hour $hour */
105
-        foreach ($this->hours as $hour ) {
105
+        foreach ($this->hours as $hour) {
106 106
 
107 107
             $h = $hour->getDate()->format('H');
108 108
             if ((int)$hour->getDate()->format('H') === $seekingHour) {
Please login to merge, or discard this patch.
src/Models/DewPoint.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast\Models
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast\Models
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast\Models;
12 12
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $a1 = ($a * $t) / ($b + $t);
67 67
         $b1 = log($humidity);
68 68
 
69
-        $dewPoint = ($b * ( $a1 + $b1)) / ( $a - ($a1 + $b1));
69
+        $dewPoint = ($b * ($a1 + $b1)) / ($a - ($a1 + $b1));
70 70
 
71 71
         return $dewPoint;
72 72
     }
Please login to merge, or discard this patch.
src/Models/BeaufortWindScale.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast\Models
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast\Models
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast\Models;
12 12
 
Please login to merge, or discard this patch.
src/Models/HeatIndex.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast\Models
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast\Models
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast\Models;
12 12
 
Please login to merge, or discard this patch.
src/OpenWeatherMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $content = file_get_contents('http://api.openweathermap.org/data/2.5/weather?q=Ulyanovsk,%20RU&units=metric&lang=ru');
23 23
 
24 24
         $result = json_decode($content, true);
25
-        var_dump($result);;
25
+        var_dump($result); ;
26 26
 
27 27
         $cur = new Current();
28 28
         $cur->setData([
Please login to merge, or discard this patch.
src/Current.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- */
3
+     *
4
+     */
5 5
 namespace Forecast;
6 6
 use Forecast\Model\Humidity;
7 7
 use Forecast\Model\Precipitation;
Please login to merge, or discard this patch.
src/Helper/Point.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast\Helper
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast\Helper
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast\Helper;
12 12
 
Please login to merge, or discard this patch.
src/ForecastItemInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast;
12 12
 
Please login to merge, or discard this patch.
src/Model/Temperature.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PHP version 5.5
5
- *
6
- * @package Forecast
7
- * @author  Sergey V.Kuzin <[email protected]>
8
- * @license MIT
9
- */
3
+     *
4
+     * PHP version 5.5
5
+     *
6
+     * @package Forecast
7
+     * @author  Sergey V.Kuzin <[email protected]>
8
+     * @license MIT
9
+     */
10 10
 
11 11
 namespace Forecast\Model;
12 12
 
Please login to merge, or discard this patch.