Completed
Push — master ( f8be55...f978d6 )
by Michael
02:52
created
src/Mvg/Factories/Departures.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 	}
82 82
 
83 83
 	/**
84
-	 * @return array
84
+	 * @return ParserDepartures
85 85
 	 */
86 86
 	protected function getParserDepartures() {
87 87
 		return $this->parserDepartures;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 29.08.15
5
- * Time: 21:15
6
- */
3
+	 * User: ms
4
+	 * Date: 29.08.15
5
+	 * Time: 21:15
6
+	 */
7 7
 namespace Mvg\Factories;
8 8
 
9 9
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 			return $this->departures;
49 49
 		}
50 50
 
51
-		if( true === empty($filter)) {
51
+		if (true === empty($filter)) {
52 52
 			return $this->departures;
53 53
 		}
54 54
 
Please login to merge, or discard this patch.
src/Mvg/TextOutput/Departures.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	/**
66 66
 	 * found here http://stackoverflow.com/a/11871948
67 67
 	 * @param $input
68
-	 * @param $pad_length
68
+	 * @param integer $pad_length
69 69
 	 * @param string $pad_string
70 70
 	 * @param int $pad_type
71 71
 	 * @return string
Please login to merge, or discard this patch.
src/Mvg/TextOutput/NewsTicker.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
 
20 20
 	/**
21
-	 * @param  Mvg\Parser\Html\NewsTicker $newsTickerParser
21
+	 * @param  NewsTickerParser $newsTickerParser
22 22
 	 */
23 23
 	public function __construct(NewsTickerParser $newsTickerParser) {
24 24
 
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 	/**
47 47
 	 * @param   Mvg\Parser\Html\NewsTicker
48
+	 * @param NewsTickerParser $newsTickerParser
48 49
 	 */
49 50
 	protected function setNewsTickerParser($newsTickerParser) {
50 51
 		$this->newsTickerParser = $newsTickerParser;
Please login to merge, or discard this patch.
src/Mvg/Parser/Html/Departures.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 29.08.15
5
- * Time: 09:36
6
- */
3
+	 * User: ms
4
+	 * Date: 29.08.15
5
+	 * Time: 09:36
6
+	 */
7 7
 
8 8
 namespace  Mvg\Parser\Html;
9 9
 
Please login to merge, or discard this patch.
src/Mvg/Parser/Html/NewsTicker.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 				$stringToAnalyze = trim(str_replace('Linie(n)', '', $item));
68 68
 				$linesString = explode(':', $stringToAnalyze)[0];
69 69
 				$object->affectedLines = explode(',', $linesString);
70
-				array_walk($object->affectedLines, function (&$item) {
70
+				array_walk($object->affectedLines, function(&$item) {
71 71
 					$item = trim($item);
72 72
 				});
73 73
 
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 14.09.15
5
- * Time: 21:24
6
- */
3
+	 * User: ms
4
+	 * Date: 14.09.15
5
+	 * Time: 21:24
6
+	 */
7 7
 
8 8
 namespace  Mvg\Parser\Html;
9 9
 use Mvg\Parser\AbstractParser;
Please login to merge, or discard this patch.
src/Mvg/Parser/Html/Stations.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 29.08.15
5
- * Time: 12:37
6
- */
3
+	 * User: ms
4
+	 * Date: 29.08.15
5
+	 * Time: 12:37
6
+	 */
7 7
 
8 8
 namespace  Mvg\Parser\Html;
9 9
 
Please login to merge, or discard this patch.
examples/interruptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
 
12 12
 $b = new HttpGetInterruptions();
13 13
 
14
-$r  =$b->doRequest();
14
+$r = $b->doRequest();
15 15
 print_r($r);
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
cli.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 28.08.15
5
- * Time: 23:34
6
- * @see this ruby application https://github.com/rmoriz/mvg-live/blob/master/lib/mvg/live.rb
7
- *
8
- * Departures
9
- * http://www.mvg-live.de/ims/dfiStaticAnzeige.svc?haltestelle=Karl-Theodor-Stra%DFe&ubahn=checked&bus=checked&tram=checked&sbahn=checked
10
- *
11
- * Select Station
12
- * http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Karl&ubahn=checked&bus=checked&tram=checked&sbahn=checked
13
- */
3
+	 * User: ms
4
+	 * Date: 28.08.15
5
+	 * Time: 23:34
6
+	 * @see this ruby application https://github.com/rmoriz/mvg-live/blob/master/lib/mvg/live.rb
7
+	 *
8
+	 * Departures
9
+	 * http://www.mvg-live.de/ims/dfiStaticAnzeige.svc?haltestelle=Karl-Theodor-Stra%DFe&ubahn=checked&bus=checked&tram=checked&sbahn=checked
10
+	 *
11
+	 * Select Station
12
+	 * http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Karl&ubahn=checked&bus=checked&tram=checked&sbahn=checked
13
+	 */
14 14
 
15 15
 use  Mvg\Parser\Html\Departures;
16 16
 use  Mvg\Parser\Html\Stations;
Please login to merge, or discard this patch.
build-phar.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User: ms
4
- * Date: 29.08.15
5
- * Time: 20:22
6
- * @see https://github.com/secondtruth/php-phar-compiler
7
- */
3
+	 * User: ms
4
+	 * Date: 29.08.15
5
+	 * Time: 20:22
6
+	 * @see https://github.com/secondtruth/php-phar-compiler
7
+	 */
8 8
 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'vendor/autoload.php';
9 9
 use Secondtruth\Compiler\Compiler;
10 10
 
Please login to merge, or discard this patch.