Failed Conditions
Pull Request — 4.0 (#4910)
by
unknown
05:39
created
src/Eccube/EventListener/MaintenanceListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $baseUrl = htmlspecialchars(\rawurldecode($request->getBaseUrl()), ENT_QUOTES);
67 67
 
68 68
         \ob_start();
69
-        require __DIR__ . '/../../../maintenance.php';
69
+        require __DIR__.'/../../../maintenance.php';
70 70
         $response = new Response(\ob_get_clean(), 503);
71 71
         $event->setResponse($response);
72 72
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     private function safelyUnserialize($serializedToken)
91 91
     {
92 92
         $e = $token = null;
93
-        $prevUnserializeHandler = \ini_set('unserialize_callback_func', __CLASS__ . '::handleUnserializeCallback');
93
+        $prevUnserializeHandler = \ini_set('unserialize_callback_func', __CLASS__.'::handleUnserializeCallback');
94 94
         $prevErrorHandler = \set_error_handler(function ($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) {
95 95
             if (__FILE__ === $file) {
96 96
                 throw new \UnexpectedValueException($msg, 0x37313bc);
@@ -120,6 +120,6 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public static function handleUnserializeCallback($class)
122 122
     {
123
-        throw new \UnexpectedValueException('Class not found: ' . $class, 0x37313bc);
123
+        throw new \UnexpectedValueException('Class not found: '.$class, 0x37313bc);
124 124
     }
125 125
 }
Please login to merge, or discard this patch.