Completed
Push — master ( 33fb79...c738ff )
by Adam
12s queued 10s
created
src/IPub/EmailModule/Mailer/FileMailer.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           30.12.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\EmailModule\Mailer;
18 18
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	{
61 61
 		Utils\FileSystem::createDir($path);
62 62
 
63
-		$this->path = realpath($path) . DS;
63
+		$this->path = realpath($path).DS;
64 64
 	}
65 65
 
66 66
 	/**
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
 		list($sec) = explode(' ', substr(microtime(), 2));
76 76
 
77
-		$this->lastFile = $this->path . date('Y-m-d_H-i-s-') . $sec . '.eml';
77
+		$this->lastFile = $this->path.date('Y-m-d_H-i-s-').$sec.'.eml';
78 78
 
79 79
 		file_put_contents($this->lastFile, $mail->generateMessage());
80 80
 	}
Please login to merge, or discard this patch.
src/IPub/EmailModule/Email/Email.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           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
 
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
 				$layout = $value;
197 197
 
198 198
 				if (Utils\Strings::startsWith($layout, '@')) {
199
-					$layout = __DIR__ . DS . '..' . DS . '..' . DS . '..' . DS . '..' . DS . 'templates' . DS . $layout;
199
+					$layout = __DIR__.DS.'..'.DS.'..'.DS.'..'.DS.'..'.DS.'templates'.DS.$layout;
200 200
 				}
201 201
 
202
-				$layout = Utils\Strings::replace($layout, '#.latte$#', '') . '.latte';
202
+				$layout = Utils\Strings::replace($layout, '#.latte$#', '').'.latte';
203 203
 
204 204
 				if (!file_exists($layout)) {
205 205
 					throw new Framework\Exceptions\InvalidArgumentException(sprintf('Layout file "%s" not found', $layout));
Please login to merge, or discard this patch.