Skip to content

Commit

Permalink
[Kernel] Prepare for 2.x:
Browse files Browse the repository at this point in the history
- Other components fixe
  • Loading branch information
OleksiiBulba committed Aug 4, 2023
1 parent 06a4488 commit 0797a74
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Micro\Framework\Kernel;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\DependencyInjection\Container;
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;

class Kernel implements KernelInterface
Expand Down
2 changes: 1 addition & 1 deletion KernelBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Micro\Framework\Kernel;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\DependencyInjection\Container;
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;
use Psr\Container\ContainerInterface;

Expand Down
2 changes: 1 addition & 1 deletion KernelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Micro\Framework\Kernel;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\DependencyInjection\Container;
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;

/**
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/KernelBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Micro\Framework\Kernel\Tests\Unit;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\DependencyInjection\Container;
use Micro\Framework\Kernel\KernelBuilder;
use Micro\Framework\Kernel\KernelInterface;
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/KernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Micro\Framework\Kernel\Tests\Unit;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\DependencyInjection\Container;
use Micro\Framework\Kernel\Kernel;
use Micro\Framework\Kernel\KernelInterface;
use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface;
Expand Down
35 changes: 7 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,24 @@
],
"require": {
"php": "^8.2",
"micro/dependency-injection": "^1.6"
"micro/dependency-injection": "^2.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.29",
"friendsofphp/php-cs-fixer": "^3.13",
"phpstan/phpstan": "^1.9",
"phpunit/php-code-coverage": "^9.2",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^5.2"
"ergebnis/composer-normalize": "^2.34"
},
"autoload": {
"psr-4": {
"Micro\\Framework\\Kernel\\": "/"
}
},
"exclude-from-classmap": [
"/Tests/"
]
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text",
"coverage-html": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html ./test-coverage-report",
"php-cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --using-cache=no",
"php-cs-try": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no",
"phpstan": "./vendor/bin/phpstan analyze --no-progress",
"phpunit": "./vendor/bin/phpunit",
"psalm": "./vendor/bin/psalm --no-progress --show-info=true --no-cache",
"statics": [
"@phpstan",
"@psalm",
"@php-cs-try"
],
"test": [
"@statics",
"composer validate --strict",
"composer normalize",
"@coverage"
]
}
"minimum-stability": "dev"
}

0 comments on commit 0797a74

Please sign in to comment.