Passed
Push — master ( fd67e8...b70579 )
by Adam
52s queued 10s
created
src/IPub/EmailModule/Email/Email.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,9 +21,7 @@
 block discarded – undo
21 21
 use Nette\Bridges\ApplicationLatte;
22 22
 use Nette\Mail;
23 23
 use Nette\Utils;
24
-
25 24
 use Latte;
26
-
27 25
 use IPub\Framework\Exceptions as FrameworkExceptions;
28 26
 
29 27
 /**
Please login to merge, or discard this 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           30.12.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\EmailModule\Email;
18 18
 
@@ -188,10 +188,10 @@  discard block
 block discarded – undo
188 188
 				$layout = $value;
189 189
 
190 190
 				if (Utils\Strings::startsWith($layout, '@')) {
191
-					$layout = __DIR__ . DS . '..' . DS . '..' . DS . '..' . DS . '..' . DS . 'templates' . DS . $layout;
191
+					$layout = __DIR__.DS.'..'.DS.'..'.DS.'..'.DS.'..'.DS.'templates'.DS.$layout;
192 192
 				}
193 193
 
194
-				$layout = Utils\Strings::replace($layout, '#.latte$#', '') . '.latte';
194
+				$layout = Utils\Strings::replace($layout, '#.latte$#', '').'.latte';
195 195
 
196 196
 				if (!file_exists($layout)) {
197 197
 					throw new FrameworkExceptions\InvalidArgumentException(sprintf('Layout file "%s" not found', $layout));
Please login to merge, or discard this patch.
src/IPub/EmailModule/Message/Message.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,7 @@
 block discarded – undo
18 18
 
19 19
 use Nette\Mail;
20 20
 use Nette\Utils;
21
-
22 21
 use IPub\EmailModule\Entities;
23
-
24 22
 use IPub\Framework\Exceptions as FrameworkExceptions;
25 23
 
26 24
 /**
Please login to merge, or discard this patch.