Passed
Branch master (8f4937)
by smiley
04:23
created
examples/MyAwesomeParserExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
 
34 34
 		$search = [
35 35
 			"\t", // lets convert all tabs into 4 spaces
36
-		    '{__BASE_URL__}', // assume we use a special token for our base url
36
+			'{__BASE_URL__}', // assume we use a special token for our base url
37 37
 		];
38 38
 
39 39
 		$replace = [
40 40
 			'    ',
41
-		    'https://your.base/url/'
41
+			'https://your.base/url/'
42 42
 		];
43 43
 
44 44
 		return str_replace($search, $replace, $bbcode);
Please login to merge, or discard this patch.
examples/example_html.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @filesource   example.php
4
- * @created      19.09.2015
5
- * @author       Smiley <[email protected]>
6
- * @copyright    2015 Smiley
7
- * @license      MIT
8
- */
3
+	 * @filesource   example.php
4
+	 * @created      19.09.2015
5
+	 * @author       Smiley <[email protected]>
6
+	 * @copyright    2015 Smiley
7
+	 * @license      MIT
8
+	 */
9 9
 
10 10
 require_once '../vendor/autoload.php';
11 11
 
Please login to merge, or discard this patch.
src/Modules/BaseModule.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,6 @@
 block discarded – undo
246 246
 
247 247
 	/**
248 248
 	 * Checks if an attribute exists and if it exists as key in a whitelist
249
-
250 249
 	 * @param string $name      the desired attributes name
251 250
 	 * @param array  $whitelist an array with whitelisted key -> value pairs
252 251
 	 * @param mixed  $default   [optional] a default value in case the attribute isn't set, defaults to false
Please login to merge, or discard this patch.
src/Modules/BaseModuleInterface.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,6 @@
 block discarded – undo
101 101
 
102 102
 	/**
103 103
 	 * Checks if an attribute exists and if it exists as key in a whitelist
104
-
105 104
 	 * @param string $name      the desired attributes name
106 105
 	 * @param array  $whitelist an array with whitelisted key -> value pairs
107 106
 	 * @param mixed  $default   [optional] a default value in case the attribute isn't set, defaults to false
Please login to merge, or discard this patch.
src/Modules/Html5/Code.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Class Code
4
- *
5
- * @filesource   Code.php
6
- * @created      12.10.2015
7
- * @package      chillerlan\bbcode\Modules\Html5
8
- * @author       Smiley <[email protected]>
9
- * @copyright    2015 Smiley
10
- * @license      MIT
11
- */
3
+	 * Class Code
4
+	 *
5
+	 * @filesource   Code.php
6
+	 * @created      12.10.2015
7
+	 * @package      chillerlan\bbcode\Modules\Html5
8
+	 * @author       Smiley <[email protected]>
9
+	 * @copyright    2015 Smiley
10
+	 * @license      MIT
11
+	 */
12 12
 
13 13
 namespace chillerlan\bbcode\Modules\Html5;
14 14
 
Please login to merge, or discard this patch.
src/Modules/Html5/Video.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,10 +72,10 @@
 block discarded – undo
72 72
 
73 73
 				if($this->flash){
74 74
 					$player = '<object type="application/x-shockwave-flash" data="'.$video_url.'">'
75
-					          .'<param name="allowfullscreen" value="true">'
76
-					          .'<param name="wmode" value="opaque" />'
77
-					          .'<param name="movie" value="'.$video_url.'" />'
78
-					          .'</object>';
75
+							  .'<param name="allowfullscreen" value="true">'
76
+							  .'<param name="wmode" value="opaque" />'
77
+							  .'<param name="movie" value="'.$video_url.'" />'
78
+							  .'</object>';
79 79
 				}
80 80
 
81 81
 				return '<div'.$cssclass.'>'.$player.'</div>';
Please login to merge, or discard this patch.