Passed
Branch master (bfb165)
by Stanislau
32:33 queued 29:58
created
Category
tests/Unit/Boot/DependedPluginsBootLoaderTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 class DependedPluginsBootLoaderTest extends TestCase
25 25
 {
26
-    private KernelInterface|null $kernel = null;
26
+    private KernelInterface|null $kernel=null;
27 27
 
28 28
     private object $pluginNotHasDepends;
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     public function testBoot()
39 39
     {
40
-        $this->kernel = new Kernel(
40
+        $this->kernel=new Kernel(
41 41
             [
42 42
                 PluginHasDepends::class,
43 43
             ],
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
             new Container(),
46 46
         );
47 47
 
48
-        $bootLoader = new DependedPluginsBootLoader($this->kernel);
48
+        $bootLoader=new DependedPluginsBootLoader($this->kernel);
49 49
         $this->kernel->addBootLoader($bootLoader);
50 50
         $this->kernel->run();
51 51
 
52
-        $i = 0;
52
+        $i=0;
53 53
         foreach ($this->kernel->plugins() as $plugin) {
54 54
             ++$i;
55 55
         }
Please login to merge, or discard this patch.
src/Boot/DependedPluginsBootLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             return;
37 37
         }
38 38
 
39
-        $dependedPlugins = $applicationPlugin->getDependedPlugins();
39
+        $dependedPlugins=$applicationPlugin->getDependedPlugins();
40 40
         if (!$dependedPlugins) {
41 41
             return;
42 42
         }
Please login to merge, or discard this patch.