Passed
Push — master ( 63d972...7b5afd )
by Yuri
14:44 queued 01:20
created
issues/14/msg.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if (!session_id()) @session_start();
2
+if (!session_id()) {
3
+  @session_start();
4
+}
3 5
 require_once('../../vendor/autoload.php');
4 6
 
5 7
 use Tamtamchik\SimpleFlash\Exceptions\FlashTemplateNotFoundException;
Please login to merge, or discard this patch.
issues/14/create_msg.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,9 @@
 block discarded – undo
2 2
 
3 3
 use Tamtamchik\SimpleFlash\Exceptions\FlashTemplateNotFoundException;
4 4
 
5
-if (!session_id()) @session_start();
5
+if (!session_id()) {
6
+  @session_start();
7
+}
6 8
 require_once('../../vendor/autoload.php');
7 9
 
8 10
 try {
Please login to merge, or discard this patch.