Completed
Push — master ( 3108bc...fa53bd )
by Igor
14:01
created
src/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * Autoload without composer.
4 4
  */
5 5
 $srcRoot = dirname(__FILE__);
6
-spl_autoload_register(function ($path) use ($srcRoot) {
6
+spl_autoload_register(function($path) use ($srcRoot) {
7 7
     $srcRoot = rtrim($srcRoot, '/') . '/';
8 8
     $path = str_replace('Dspbee\\Test\\', '', $path);
9 9
     $path = str_replace('Dspbee\\', '', $path);
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/CookieBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function fetch($key, $default = null)
58 58
     {
59
-        return $_COOKIE[$key] ?? $default;
59
+        return $_COOKIE[$key] ? ? $default;
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/GetBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     public function fetch($key, $default = null)
59 59
     {
60
-        return $_GET[$key] ?? $default;
60
+        return $_GET[$key] ? ? $default;
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/EnvBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function fetch($key, $default = null)
58 58
     {
59
-        return $_ENV[$key] ?? $default;
59
+        return $_ENV[$key] ? ? $default;
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/ServerBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             return $_SERVER[$key];
60 60
         } else {
61 61
             $key = 'HTTP_' . $key;
62
-            return $_SERVER[$key] ?? $default;
62
+            return $_SERVER[$key] ? ? $default;
63 63
         }
64 64
     }
65 65
 
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/PostBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function fetch($key, $default = null)
58 58
     {
59
-        return $_POST[$key] ?? $default;
59
+        return $_POST[$key] ? ? $default;
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/Bundle/Common/Bag/ValueBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function fetch($key, $default = null)
61 61
     {
62
-        return $this->bag[$key] ?? $default;
62
+        return $this->bag[$key] ? ? $default;
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.
src/Bundle/Common/Session/SessionBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function fetch($key, $default = null)
81 81
     {
82
-        return $_SESSION[$key] ?? $default;
82
+        return $_SESSION[$key] ? ? $default;
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.
src/Bundle/Debug/Wrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     public static function handleFatal()
46 46
     {
47 47
         $error = error_get_last();
48
-        if(null !== $error) {
48
+        if (null !== $error) {
49 49
             self::render($error["type"], $error["message"], $error["file"], $error["line"]);
50 50
         }
51 51
     }
Please login to merge, or discard this patch.