Passed
Push — master ( 5918a4...be39d3 )
by Adam
03:03
created
src/IPub/ConfirmationDialog/Components/Confirmer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           31.03.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog\Components;
18 18
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 		string $templateFile = NULL,
54 54
 		Storage\IStorage $storage
55 55
 	) {
56
-		list(, , $parent, $name) = func_get_args() + [NULL, NULL, NULL, NULL];
56
+		list(,, $parent, $name) = func_get_args() + [NULL, NULL, NULL, NULL];
57 57
 
58 58
 		parent::__construct($storage, $parent, $name);
59 59
 
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 	 */
274 274
 	private function generateToken() : string
275 275
 	{
276
-		return base_convert(md5(uniqid('confirm' . $this->getName(), TRUE)), 16, 36);
276
+		return base_convert(md5(uniqid('confirm'.$this->getName(), TRUE)), 16, 36);
277 277
 	}
278 278
 
279 279
 	/**
Please login to merge, or discard this patch.
src/IPub/ConfirmationDialog/Components/IConfirmer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           31.01.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog\Components;
18 18
 
Please login to merge, or discard this patch.
src/IPub/ConfirmationDialog/Components/IControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           12.03.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog\Components;
18 18
 
Please login to merge, or discard this patch.
src/IPub/ConfirmationDialog/Components/BaseControl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           12.03.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog\Components;
18 18
 
@@ -154,8 +154,8 @@  discard block
 block discarded – undo
154 154
 		$templateName = preg_replace('/.latte/', '', $templateFile);
155 155
 
156 156
 		// ...check if extension template is used
157
-		if (is_file($dir . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR . $templateName . '.latte')) {
158
-			return $dir . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR . $templateName . '.latte';
157
+		if (is_file($dir.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.$templateName.'.latte')) {
158
+			return $dir.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.$templateName.'.latte';
159 159
 		}
160 160
 
161 161
 		// ...if not throw exception
Please login to merge, or discard this patch.
src/IPub/ConfirmationDialog/TConfirmationDialog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           01.02.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog;
18 18
 
Please login to merge, or discard this patch.
src/IPub/ConfirmationDialog/DI/ConfirmationDialogExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           08.06.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\ConfirmationDialog\DI;
18 18
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	public function getTranslationResources() : array
100 100
 	{
101 101
 		return [
102
-			__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Translations'
102
+			__DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Translations'
103 103
 		];
104 104
 	}
105 105
 }
Please login to merge, or discard this patch.