@@ -23,7 +23,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | return; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - $dependedPlugins = $applicationPlugin->getDependedPlugins(); |
|
| 39 | + $dependedPlugins=$applicationPlugin->getDependedPlugins(); |
|
| 40 | 40 | if (!$dependedPlugins) { |
| 41 | 41 | return; |
| 42 | 42 | } |