Completed
Push — 1.x ( abde83...7c6f23 )
by Akihito
13s
created
src/Provide/Router/WebRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $request = new RouterMatch;
43 43
         list($request->method, $request->query) = $this->httpMethodParams->get($server, $globals['_GET'], $globals['_POST']);
44
-        $request->path = $this->schemeHost . parse_url($server['REQUEST_URI'], PHP_URL_PATH);
44
+        $request->path = $this->schemeHost.parse_url($server['REQUEST_URI'], PHP_URL_PATH);
45 45
 
46 46
         return $request;
47 47
     }
Please login to merge, or discard this patch.
src/Provide/Error/ErrorPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
     {
25 25
         $string = parent::__toString();
26 26
 
27
-        return $string . $this->postBody;
27
+        return $string.$this->postBody;
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/AppMetaModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     protected function configure()
30 30
     {
31 31
         $this->bind(AbstractAppMeta::class)->toInstance($this->appMeta);
32
-        $this->bind(AppInterface::class)->to($this->appMeta->name . '\Module\App');
32
+        $this->bind(AppInterface::class)->to($this->appMeta->name.'\Module\App');
33 33
         $this->bind('')->annotatedWith(AppName::class)->toInstance($this->appMeta->name);
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Context/CliModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->rename(RouterInterface::class, 'original');
24 24
         $this->bind(RouterInterface::class)->to(CliRouter::class);
25 25
         $this->bind(TransferInterface::class)->to(CliResponder::class);
26
-        $stdIn = tempnam(sys_get_temp_dir(), 'stdin-' . crc32(__FILE__));
26
+        $stdIn = tempnam(sys_get_temp_dir(), 'stdin-'.crc32(__FILE__));
27 27
         $this->bind()->annotatedWith(StdIn::class)->toInstance($stdIn);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/AppInjector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,11 +83,11 @@
 block discarded – undo
83 83
         $contextsArray = array_reverse(explode('-', $contexts));
84 84
         $module = null;
85 85
         foreach ($contextsArray as $context) {
86
-            $class = $appMeta->name . '\Module\\' . ucwords($context) . 'Module';
87
-            if (! class_exists($class)) {
88
-                $class = 'BEAR\Package\Context\\' . ucwords($context) . 'Module';
86
+            $class = $appMeta->name.'\Module\\'.ucwords($context).'Module';
87
+            if (!class_exists($class)) {
88
+                $class = 'BEAR\Package\Context\\'.ucwords($context).'Module';
89 89
             }
90
-            if (! is_a($class, AbstractModule::class, true)) {
90
+            if (!is_a($class, AbstractModule::class, true)) {
91 91
                 throw new InvalidContextException($class);
92 92
             }
93 93
             /* @var $module AbstractModule */
Please login to merge, or discard this patch.
src/Provide/Logger/MonologProviver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
 
29 29
     public function get()
30 30
     {
31
-        return new Logger($this->appMeta->name, [new StreamHandler($this->appMeta->logDir . '/app.log', Logger::DEBUG)]);
31
+        return new Logger($this->appMeta->name, [new StreamHandler($this->appMeta->logDir.'/app.log', Logger::DEBUG)]);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Provide/Error/LogRef.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function __construct(\Exception $e)
25 25
     {
26
-        $this->ref = (string) hash('crc32b', get_class($e) . $e->getMessage() . $e->getFile() . $e->getLine());
26
+        $this->ref = (string) hash('crc32b', get_class($e).$e->getMessage().$e->getFile().$e->getLine());
27 27
         $this->exceptionString = new ExceptionAsString;
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/Context/Provider/ProdCacheProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function __construct(AbstractAppMeta $appMeta, $namespace)
32 32
     {
33
-        $this->cacheDir = $appMeta->tmpDir . '/cache';
33
+        $this->cacheDir = $appMeta->tmpDir.'/cache';
34 34
         $this->namespace = $namespace;
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Provide/Transfer/CliResponder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,15 +18,15 @@
 block discarded – undo
18 18
     public function __invoke(ResourceObject $resourceObject, array $server)
19 19
     {
20 20
         unset($server);
21
-        if (! $resourceObject->view) {
21
+        if (!$resourceObject->view) {
22 22
             $resourceObject->toString();
23 23
         }
24 24
         // code
25 25
         $statusText = (new Code)->statusText[$resourceObject->code];
26
-        $ob = $resourceObject->code . ' ' . $statusText . PHP_EOL;
26
+        $ob = $resourceObject->code.' '.$statusText.PHP_EOL;
27 27
         // header
28 28
         foreach ($resourceObject->headers as $label => $value) {
29
-            $ob .= "{$label}: {$value}" . PHP_EOL;
29
+            $ob .= "{$label}: {$value}".PHP_EOL;
30 30
         }
31 31
         // empty line
32 32
         $ob .= PHP_EOL;
Please login to merge, or discard this patch.