Passed
Push — master ( 5fa9ec...37252b )
by Stanislau
12:53 queued 10:10
created
src/Listener/ApplicationStartedListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  */
26 26
 class ApplicationStartedListener implements EventListenerInterface
27 27
 {
28
-    public const ALLOWED_MODES = [
28
+    public const ALLOWED_MODES=[
29 29
         'apache2handler',
30 30
         'apache',
31 31
         'cgi-fcgi',
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function on(EventInterface $event): void
48 48
     {
49
-        $sysenv = $event->systemEnvironment();
49
+        $sysenv=$event->systemEnvironment();
50 50
         if (!\in_array($sysenv, self::ALLOWED_MODES)) {
51 51
             return;
52 52
         }
53 53
 
54
-        $request = Request::createFromGlobals();
54
+        $request=Request::createFromGlobals();
55 55
         $this->httpFacade->execute($request);
56 56
     }
57 57
 
Please login to merge, or discard this patch.