Skip to content

Commit 3e40fa6

Browse files
committed
[KernelApp] Prepare for 2.x:
- Removed GitHub workflow; - Removed static analysis configuration files; - Moved all classes to root folder; - Renamed namespace to \Micro\Framework\KernelApp; Signed-off-by: Oleksii Bulba <oleksii_bulba@epam.com>
1 parent 7a274d3 commit 3e40fa6

24 files changed

+64
-272
lines changed

.gitattributes

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
/.github export-ignore
2-
/tests export-ignore
1+
/Tests export-ignore
32
/phpunit.xml.dist export-ignore
43
/.gitattributes export-ignore
54
/.gitignore export-ignore
6-
/.php-cs-fixer.dist.php export-ignore
7-
/psalm.xml export-ignore
85

96
*.php diff=php

.github/workflows/.editorconfig

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.php-cs-fixer.dist.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/AppKernel.php renamed to AppKernel.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Micro\Kernel\App;
12+
namespace Micro\Framework\KernelApp;
1313

14-
use Micro\Component\DependencyInjection\Container;
15-
use Micro\Framework\Kernel\Boot\ConfigurationProviderBootLoader;
16-
use Micro\Framework\Kernel\Boot\DependedPluginsBootLoader;
17-
use Micro\Framework\Kernel\Boot\DependencyProviderBootLoader;
18-
use Micro\Framework\Kernel\Configuration\ApplicationConfigurationInterface;
14+
use Micro\Framework\DependencyInjection\Container;
15+
use Micro\Framework\BootConfiguration\Boot\ConfigurationProviderBootLoader;
16+
use Micro\Framework\BootPluginDependent\Boot\DependedPluginsBootLoader;
17+
use Micro\Framework\BootDependency\Boot\DependencyProviderBootLoader;
18+
use Micro\Framework\BootConfiguration\Configuration\ApplicationConfigurationInterface;
1919
use Micro\Framework\Kernel\KernelBuilder;
2020
use Micro\Framework\Kernel\KernelInterface;
2121
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;
22-
use Micro\Kernel\App\Business\KernelActionProcessorInterface;
23-
use Micro\Kernel\App\Business\KernelRunActionProcessor;
24-
use Micro\Kernel\App\Business\KernelTerminateActionProcessor;
22+
use Micro\Framework\KernelApp\Business\KernelActionProcessorInterface;
23+
use Micro\Framework\KernelApp\Business\KernelRunActionProcessor;
24+
use Micro\Framework\KernelApp\Business\KernelTerminateActionProcessor;
2525
use Micro\Plugin\EventEmitter\EventEmitterPlugin;
2626
use Micro\Plugin\Locator\LocatorPlugin;
2727

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Micro\Kernel\App;
12+
namespace Micro\Framework\KernelApp;
1313

1414
use Micro\Framework\Kernel\KernelInterface;
1515
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Micro\Kernel\App\Business;
12+
namespace Micro\Framework\KernelApp\Business;
1313

14-
use Micro\Kernel\App\AppKernelInterface;
14+
use Micro\Framework\KernelApp\AppKernelInterface;
1515

1616
abstract class AbstractActionProcessor implements KernelActionProcessorInterface
1717
{
18-
/**
19-
* {@inheritDoc}
20-
*/
2118
public function process(AppKernelInterface $appKernel): void
2219
{
2320
foreach ($this->createActionProcessorCollection() as $actionProcessor) {

src/Business/Event/ApplicationReadyEvent.php renamed to Business/Event/ApplicationReadyEvent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Micro\Kernel\App\Business\Event;
12+
namespace Micro\Framework\KernelApp\Business\Event;
1313

14-
use Micro\Kernel\App\AppKernelInterface;
14+
use Micro\Framework\KernelApp\AppKernelInterface;
1515

1616
readonly class ApplicationReadyEvent implements ApplicationReadyEventInterface
1717
{

src/Business/Event/ApplicationReadyEventInterface.php renamed to Business/Event/ApplicationReadyEventInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* file that was distributed with this source code.
1212
*/
1313

14-
namespace Micro\Kernel\App\Business\Event;
14+
namespace Micro\Framework\KernelApp\Business\Event;
1515

16-
use Micro\Component\EventEmitter\EventInterface;
17-
use Micro\Kernel\App\AppKernelInterface;
16+
use Micro\Framework\EventEmitter\EventInterface;
17+
use Micro\Framework\KernelApp\AppKernelInterface;
1818

1919
/**
2020
* @author Stanislau Komar <head.trackingsoft@gmail.com>

src/Business/Event/ApplicationTerminatedEvent.php renamed to Business/Event/ApplicationTerminatedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Micro\Kernel\App\Business\Event;
12+
namespace Micro\Framework\KernelApp\Business\Event;
1313

1414
readonly class ApplicationTerminatedEvent implements ApplicationTerminatedEventInterface
1515
{

0 commit comments

Comments
 (0)