Completed
Branch master (e5db64)
by Schlaefer
09:02
created
app/Plugin/BbcodeParser/Lib/Editor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 					'className' => 'btn-markItUp-Link',
71 71
 					'key' => 'L',
72 72
 					'openWith' =>
73
-						'[url=[![' . __('geshi_link_popup') . ']!]]',
73
+						'[url=[!['.__('geshi_link_popup').']!]]',
74 74
 					'closeWith' => '[/url]',
75 75
 					'placeHolder' => __('geshi_link_placeholder'),
76 76
 				),
Please login to merge, or discard this patch.
app/Plugin/BbcodeParser/Lib/Processors/BbcodeQuotePostprocessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 			$quoteSymbolSanitized = h($this->_sOptions['quote_symbol']);
9 9
 			$string = preg_replace(
10 10
 			// Begin of the text or a new line in the text, maybe one space afterwards
11
-				'/(^|\n\r\s?)' .
12
-				$quoteSymbolSanitized .
11
+				'/(^|\n\r\s?)'.
12
+				$quoteSymbolSanitized.
13 13
 				'\s(.*)(?!\<br)/m',
14
-				"\\1<span class=\"richtext-citation\">" . $quoteSymbolSanitized . " \\2</span>",
14
+				"\\1<span class=\"richtext-citation\">".$quoteSymbolSanitized." \\2</span>",
15 15
 				$string
16 16
 			);
17 17
 			return $string;
Please login to merge, or discard this patch.
app/Plugin/Stopwatch/View/Helper/StopwatchHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	}
60 60
 
61 61
 	public function getResult() {
62
-		return "<pre>" . Stopwatch::getString() . "</pre>";
62
+		return "<pre>".Stopwatch::getString()."</pre>";
63 63
 	}
64 64
 
65 65
 }
Please login to merge, or discard this patch.
app/Plugin/MailObfuscator/View/Helper/MailObfuscatorHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 			if (empty($title) === false) {
14 14
 				$hasTitle = 1;
15 15
 			}
16
-			$rand = "moh_" . md5(mt_rand(1, 10000) . $addr);
16
+			$rand = "moh_".md5(mt_rand(1, 10000).$addr);
17 17
 			list($ttl, $dom) = explode('@', $addr);
18 18
 
19 19
 			// missing  style='unicode-bidi:bidi-override;direction:rtl;'
20
-			$mailto = '<a id="' . $rand . '" href="#" data-ttl="' . $ttl . '" data-dom="' . $dom . '">' . $title . '</a>';
20
+			$mailto = '<a id="'.$rand.'" href="#" data-ttl="'.$ttl.'" data-dom="'.$dom.'">'.$title.'</a>';
21 21
 			$mailto .= '<noscript><p>[You need to have Javascript enabled to see this mail address.]</p></noscript>';
22 22
 			$mailto .= $this->Html->scriptBlock(
23 23
 				"$(function(){
Please login to merge, or discard this patch.
app/Plugin/M/Lib/MCacheSupportCachelet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 	class MCacheSupportCachelet extends CacheSupportCachelet {
6 6
 
7 7
 		public function clear($id = null) {
8
-			touch(CakePlugin::path('M') . 'webroot/touch.txt');
8
+			touch(CakePlugin::path('M').'webroot/touch.txt');
9 9
 		}
10 10
 
11 11
 	}
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
app/Plugin/Detectors/Controller/Component/DetectorsComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 			if ($this->_isBot === null) {
96 96
 				$agent = env('HTTP_USER_AGENT');
97 97
 				$imploded = implode('|', $this->_bots);
98
-				$this->_isBot = (bool)preg_match('/' . $imploded . '/i', $agent);
98
+				$this->_isBot = (bool) preg_match('/'.$imploded.'/i', $agent);
99 99
 			}
100 100
 			return $this->_isBot;
101 101
 		}
Please login to merge, or discard this patch.
app/Plugin/Sitemap/Test/Case/Controller/SitemapsControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 			$result = $this->testAction('/sitemaps/index.xml',
37 37
 					['method' => 'GET', 'return' => 'contents']);
38 38
 			$baseUrl = $this->controller->base;
39
-			$this->assertContains($baseUrl . '/sitemaps/file/sitemap-entries-1-20000.xml',
39
+			$this->assertContains($baseUrl.'/sitemaps/file/sitemap-entries-1-20000.xml',
40 40
 					$result);
41 41
 		}
42 42
 
Please login to merge, or discard this patch.
app/Plugin/Sitemap/View/Helper/SitemapHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 	class SitemapHelper extends AppHelper {
6 6
 
7 7
 		public function sitemapUrl() {
8
-			return $this->baseUrl() . 'sitemap.xml';
8
+			return $this->baseUrl().'sitemap.xml';
9 9
 		}
10 10
 
11 11
 		public function baseUrl() {
Please login to merge, or discard this patch.
app/Plugin/Sitemap/Lib/SitemapEntries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 					$changefreq = 'hourly';
89 89
 				}
90 90
 				$urls[] = [
91
-						'loc' => 'entries/view/' . $entry['Entry']['id'],
91
+						'loc' => 'entries/view/'.$entry['Entry']['id'],
92 92
 						'lastmod' => Date('c', $lastmod),
93 93
 						'changefreq' => $changefreq
94 94
 				];
Please login to merge, or discard this patch.