Skip to content

Commit

Permalink
WS exchange to devices bridge + bootstrap cleaning (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 4, 2022
1 parent 27303c0 commit feeb309
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"require-dev": {
"brianium/paratest": "^6.6",
"contributte/translation": "^0.9",
"contributte/translation": "^2.0",
"dg/bypass-finals": "^1.4",
"infection/infection": "^0.26",
"orisai/coding-standard": "^3.2",
Expand Down
6 changes: 3 additions & 3 deletions src/DI/DevicesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace FastyBird\Module\Devices\DI;

use Doctrine\Persistence;
use FastyBird\Library\Bootstrap;
use FastyBird\Library\Bootstrap\Boot as BootstrapBoot;
use FastyBird\Library\Exchange\DI as ExchangeDI;
use FastyBird\Module\Devices\Commands;
use FastyBird\Module\Devices\Connectors;
Expand Down Expand Up @@ -58,12 +58,12 @@ class DevicesExtension extends DI\CompilerExtension
public const CONNECTOR_TYPE_TAG = 'connector_type';

public static function register(
Nette\Configurator|Bootstrap\Boot\Configurator $config,
Nette\Configurator|BootstrapBoot\Configurator $config,
string $extensionName = self::NAME,
): void
{
$config->onCompile[] = static function (
Nette\Configurator|Bootstrap\Boot\Configurator $config,
Nette\Configurator|BootstrapBoot\Configurator $config,
DI\Compiler $compiler,
) use ($extensionName): void {
$compiler->addExtension($extensionName, new DevicesExtension());
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/unit/DbTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Doctrine\DBAL;
use Doctrine\ORM;
use FastyBird\DateTimeFactory;
use FastyBird\Library\Bootstrap;
use FastyBird\Library\Bootstrap\Boot as BootstrapBoot;
use FastyBird\Library\Bootstrap\Exceptions as BootstrapExceptions;
use FastyBird\Module\Devices\DI;
use FastyBird\Module\Devices\Exceptions;
Expand Down Expand Up @@ -136,7 +136,7 @@ private function createContainer(): Nette\DI\Container
$rootDir = __DIR__ . '/../..';
$vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor';

$config = Bootstrap\Boot\Bootstrap::boot();
$config = BootstrapBoot\Bootstrap::boot();
$config->setForceReloadContainer();
$config->setTempDirectory(FB_TEMP_DIR);

Expand Down

0 comments on commit feeb309

Please sign in to comment.