Test Failed
Pull Request — master (#253)
by Wilmer
02:39
created
autoload.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,15 +6,15 @@
 block discarded – undo
6 6
 
7 7
 require_once __DIR__ . '/vendor/autoload.php';
8 8
 
9
-$dotenv = Dotenv::createImmutable(__DIR__);
9
+$dotenv=Dotenv::createImmutable(__DIR__);
10 10
 $dotenv->load();
11 11
 
12
-$_ENV['YII_ENV'] = empty($_ENV['YII_ENV']) ? null : $_ENV['YII_ENV'];
13
-$_SERVER['YII_ENV'] = $_ENV['YII_ENV'];
12
+$_ENV['YII_ENV']=empty($_ENV['YII_ENV']) ? null : $_ENV['YII_ENV'];
13
+$_SERVER['YII_ENV']=$_ENV['YII_ENV'];
14 14
 
15
-$_ENV['YII_DEBUG'] = filter_var(
15
+$_ENV['YII_DEBUG']=filter_var(
16 16
     !empty($_ENV['YII_DEBUG']) ? $_ENV['YII_DEBUG'] : true,
17 17
     FILTER_VALIDATE_BOOLEAN,
18 18
     FILTER_NULL_ON_FAILURE
19 19
 ) ?? true;
20
-$_SERVER['YII_DEBUG'] = $_ENV['YII_DEBUG'];
20
+$_SERVER['YII_DEBUG']=$_ENV['YII_DEBUG'];
Please login to merge, or discard this patch.
src/ViewInjection/CommonViewInjection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function __construct(
15 15
         ApplicationParameters $applicationParameters
16 16
     ) {
17
-        $this->applicationParameters = $applicationParameters;
17
+        $this->applicationParameters=$applicationParameters;
18 18
     }
19 19
 
20 20
     public function getCommonParameters(): array
Please login to merge, or discard this patch.
src/Controller/SiteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function __construct(private ViewRenderer $viewRenderer)
13 13
     {
14
-        $this->viewRenderer = $viewRenderer->withControllerName('site');
14
+        $this->viewRenderer=$viewRenderer->withControllerName('site');
15 15
     }
16 16
 
17 17
     public function index(): ResponseInterface
Please login to merge, or discard this patch.
src/Installer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         chmod($path, $mode);
25 25
 
26 26
         /** @psalm-var iterable<array-key, string> $iterator */
27
-        $iterator = new RIterator(
27
+        $iterator=new RIterator(
28 28
             new DirIterator($path, FSIterator::SKIP_DOTS | FSIterator::CURRENT_AS_PATHNAME),
29 29
             RIterator::SELF_FIRST
30 30
         );
Please login to merge, or discard this patch.
src/ApplicationParameters.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@  discard block
 block discarded – undo
6 6
 
7 7
 final class ApplicationParameters
8 8
 {
9
-    private string $charset = 'UTF-8';
10
-    private string $name = 'My Project';
9
+    private string $charset='UTF-8';
10
+    private string $name='My Project';
11 11
 
12 12
     public function getCharset(): string
13 13
     {
@@ -21,15 +21,15 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function charset(string $value): self
23 23
     {
24
-        $new = clone $this;
25
-        $new->charset = $value;
24
+        $new=clone $this;
25
+        $new->charset=$value;
26 26
         return $new;
27 27
     }
28 28
 
29 29
     public function name(string $value): self
30 30
     {
31
-        $new = clone $this;
32
-        $new->name = $value;
31
+        $new=clone $this;
32
+        $new->name=$value;
33 33
         return $new;
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Command/Hello.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 final class Hello extends Command
13 13
 {
14
-    protected static $defaultName = 'hello';
15
-    protected static $defaultDescription = 'An example command';
14
+    protected static $defaultName='hello';
15
+    protected static $defaultDescription='An example command';
16 16
 
17 17
     public function __construct()
18 18
     {
Please login to merge, or discard this patch.
src/Handler/NotFoundHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         private CurrentRoute $currentRoute,
20 20
         private ViewRenderer $viewRenderer
21 21
     ) {
22
-        $this->viewRenderer = $viewRenderer->withControllerName('site');
22
+        $this->viewRenderer=$viewRenderer->withControllerName('site');
23 23
     }
24 24
 
25 25
     public function handle(ServerRequestInterface $request): ResponseInterface
Please login to merge, or discard this patch.
src/Asset/AppAsset.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 final class AppAsset extends AssetBundle
10 10
 {
11
-    public ?string $basePath = '@assets';
12
-    public ?string $baseUrl = '@assetsUrl';
13
-    public ?string $sourcePath = '@resources/assets/css';
11
+    public ?string $basePath='@assets';
12
+    public ?string $baseUrl='@assetsUrl';
13
+    public ?string $sourcePath='@resources/assets/css';
14 14
 
15
-    public array $css = [
15
+    public array $css=[
16 16
         'site.css',
17 17
     ];
18 18
 }
Please login to merge, or discard this patch.
config/web/application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 return [
14 14
     Yiisoft\Yii\Http\Application::class => [
15 15
         '__construct()' => [
16
-            'dispatcher' => DynamicReference::to(static function (Injector $injector) use ($params) {
16
+            'dispatcher' => DynamicReference::to(static function(Injector $injector) use ($params) {
17 17
                 return ($injector->make(MiddlewareDispatcher::class))
18 18
                     ->withMiddlewares($params['middlewares']);
19 19
             }),
Please login to merge, or discard this patch.