Passed
Push — main ( 6bc794...02442c )
by Dimitri
03:30
created
src/Mail/Adapters/SymfonyMailer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,10 +159,10 @@
 block discarded – undo
159 159
     public function setEncryption(?string $encryption): self
160 160
     {
161 161
         if ($encryption === static::ENCRYPTION_NONE) {
162
-			$encryption = null;
163
-		}
162
+            $encryption = null;
163
+        }
164 164
 		
165
-		if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) {
165
+        if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) {
166 166
             $this->encryption = $encryption;
167 167
         }
168 168
 
Please login to merge, or discard this patch.
src/Mail/Adapters/PHPMailer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,9 +164,9 @@
 block discarded – undo
164 164
      */
165 165
     public function setEncryption(?string $encryption): self
166 166
     {
167
-		if ($encryption === static::ENCRYPTION_NONE) {
168
-			$encryption = null;
169
-		}
167
+        if ($encryption === static::ENCRYPTION_NONE) {
168
+            $encryption = null;
169
+        }
170 170
 		
171 171
         if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) {
172 172
             $this->mailer->SMTPSecure = $encryption;
Please login to merge, or discard this patch.
src/View/Adapters/AbstractAdapter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
             $file = $this->locator->locateFile($view, 'Views', empty($ext) ? 'php' : $ext);
234 234
         }
235 235
 		
236
-		$file = realpath($file);
236
+        $file = realpath($file);
237 237
 		
238 238
         // locateFile renverra une chaîne vide si le fichier est introuvable.
239 239
         if (! is_file($file)) {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     {
71 71
         helper('assets');
72 72
 
73
-        if (! empty($viewPathLocator)) {
73
+        if (!empty($viewPathLocator)) {
74 74
             if (is_string($viewPathLocator)) {
75 75
                 $this->viewPath = rtrim($viewPathLocator, '\\/ ') . DS;
76 76
             } elseif ($viewPathLocator instanceof Locator) {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
         $options = (array) $options;
222 222
 
223 223
         $viewPath = $options['viewPath'] ?? $this->viewPath;
224
-        if (! empty($viewPath)) {
224
+        if (!empty($viewPath)) {
225 225
             $file = str_replace('/', DS, rtrim($viewPath, '/\\') . DS . ltrim($view, '/\\'));
226 226
         } else {
227 227
             $file = $view;
@@ -229,14 +229,14 @@  discard block
 block discarded – undo
229 229
 
230 230
         $file = Helpers::ensureExt($file, $ext);
231 231
 
232
-        if (! is_file($file) && $this->locator instanceof Locator) {
232
+        if (!is_file($file) && $this->locator instanceof Locator) {
233 233
             $file = $this->locator->locateFile($view, 'Views', empty($ext) ? 'php' : $ext);
234 234
         }
235 235
 		
236 236
 		$file = realpath($file);
237 237
 		
238 238
         // locateFile renverra une chaîne vide si le fichier est introuvable.
239
-        if (! is_file($file)) {
239
+        if (!is_file($file)) {
240 240
             throw ViewException::invalidFile($view);
241 241
         }
242 242
 
Please login to merge, or discard this patch.