Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Clearing core dependencies #324

Merged
merged 3 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/FastyBird/Core/Application/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"contributte/vite": "^0.2",
"cweagans/composer-patches": "^1.7",
"doctrine/orm": "2.15.*",
"fastybird/datetime-factory": "^0.7.1",
"fastybird/metadata-library": "dev-main",
"fastybird/simple-auth": "^0.14",
"ipub/doctrine-crud": "^5.1",
"ipub/doctrine-timestampable": "^2.0",
"ipub/slim-router": "^0.2",
"nette/bootstrap": "^3.2",
"nette/application": "^3.1",
"nette/caching": "^3.3",
Expand Down
1 change: 0 additions & 1 deletion src/FastyBird/Core/Application/config/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ extensions:
# contributteCacheDebug : Contributte\Cache\DI\DebugStorageExtension
orisaiObjectMapper : OriNette\ObjectMapper\DI\ObjectMapperExtension
fbApplication : FastyBird\Core\Application\DI\ApplicationExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension

##################################
# Nette extensions configuration #
Expand Down
1 change: 0 additions & 1 deletion src/FastyBird/Core/Application/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ extensions:
nettrineOrmCache : Nettrine\ORM\DI\OrmCacheExtension
ipubDoctrineCrud : IPub\DoctrineCrud\DI\DoctrineCrudExtension
ipubDoctrineTimestampable : IPub\DoctrineTimestampable\DI\DoctrineTimestampableExtension
ipubPhone : IPub\Phone\DI\PhoneExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension
fbJsonApi : FastyBird\JsonApi\DI\JsonApiExtension
fbSimpleAuth : FastyBird\SimpleAuth\DI\SimpleAuthExtension
Expand Down
4 changes: 0 additions & 4 deletions src/FastyBird/Core/Exchange/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
php:
date.timezone: Europe/Prague

extensions:
ipubPhone : IPub\Phone\DI\PhoneExtension
fbTools : FastyBird\Core\Tools\DI\ToolsExtension

fbApplication:
documents:
mapping: []
2 changes: 1 addition & 1 deletion src/FastyBird/Core/Tools/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ php:
date.timezone: Europe/Prague

extensions:
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
use FastyBird\Module\Devices\Events;
use FastyBird\Module\Devices\Exceptions;
use FastyBird\Module\Devices\States;
use IPub\Phone\Exceptions as PhoneExceptions;
use Nette;
use Nette\Caching as NetteCaching;
use Symfony\Component\EventDispatcher;
Expand Down Expand Up @@ -80,8 +79,6 @@ public static function getSubscribedEvents(): array
* @throws ToolsExceptions\InvalidData
* @throws ToolsExceptions\Logic
* @throws ToolsExceptions\MalformedInput
* @throws PhoneExceptions\NoValidCountryException
* @throws PhoneExceptions\NoValidPhoneException
*/
public function stateCreated(
Events\ConnectorPropertyStateEntityCreated|Events\DevicePropertyStateEntityCreated|Events\ChannelPropertyStateEntityCreated $event,
Expand All @@ -104,8 +101,6 @@ public function stateCreated(
* @throws ToolsExceptions\InvalidData
* @throws ToolsExceptions\Logic
* @throws ToolsExceptions\MalformedInput
* @throws PhoneExceptions\NoValidCountryException
* @throws PhoneExceptions\NoValidPhoneException
*/
public function stateUpdated(
Events\ConnectorPropertyStateEntityUpdated|Events\DevicePropertyStateEntityUpdated|Events\ChannelPropertyStateEntityUpdated $event,
Expand Down Expand Up @@ -139,8 +134,6 @@ private function cleanCache(
* @throws ToolsExceptions\InvalidData
* @throws ToolsExceptions\Logic
* @throws ToolsExceptions\MalformedInput
* @throws PhoneExceptions\NoValidCountryException
* @throws PhoneExceptions\NoValidPhoneException
*/
private function publishDocument(
MetadataTypes\Sources\Source $source,
Expand Down
1 change: 0 additions & 1 deletion src/FastyBird/Module/Devices/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ extensions:
nettrineOrmCache : Nettrine\ORM\DI\OrmCacheExtension
ipubDoctrineCrud : IPub\DoctrineCrud\DI\DoctrineCrudExtension
ipubDoctrineTimestampable : IPub\DoctrineTimestampable\DI\DoctrineTimestampableExtension
ipubPhone : IPub\Phone\DI\PhoneExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension
fbJsonApi : FastyBird\JsonApi\DI\JsonApiExtension
fbSimpleAuth : FastyBird\SimpleAuth\DI\SimpleAuthExtension
Expand Down
3 changes: 0 additions & 3 deletions src/FastyBird/Plugin/ApiKey/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ fbJsonApi:
meta:
copyright: FastyBird s.r.o

fbDateTimeFactory:
frozen: DateTimeImmutable('2020-04-01T12:00:00+00:00')

fbApplication:
documents:
mapping: []
1 change: 1 addition & 0 deletions src/FastyBird/Plugin/WebServer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"cweagans/composer-patches": "^1.7",
"fastybird/application": "dev-main",
"fastybird/metadata-library": "dev-main",
"fastybird/tools": "dev-main",
"fig/http-message-util": "^1.1",
"ipub/slim-router": "^0.2",
"nette/bootstrap": "^3.2",
Expand Down
1 change: 1 addition & 0 deletions src/FastyBird/Plugin/WebServer/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ php:

extensions:
fbTools : FastyBird\Core\Tools\DI\ToolsExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension

fbApplication:
documents:
Expand Down
1 change: 1 addition & 0 deletions src/FastyBird/Plugin/WsServer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"fastybird/application": "dev-main",
"fastybird/exchange": "dev-main",
"fastybird/metadata-library": "dev-main",
"fastybird/tools": "dev-main",
"ipub/websockets-wamp": "^1.4",
"nette/di": "^3.2",
"nette/utils": "^4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/FastyBird/Plugin/WsServer/tests/common.neon
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ php:
extensions:
ipubWebSocketsWAMP : IPub\WebSocketsWAMP\DI\WebSocketsWAMPExtension
ipubWebSockets : IPub\WebSockets\DI\WebSocketsExtension
ipubPhone : IPub\Phone\DI\PhoneExtension
fbTools : FastyBird\Core\Tools\DI\ToolsExtension
fbExchange : FastyBird\Core\Exchange\DI\ExchangeExtension
fbDateTimeFactory : FastyBird\DateTimeFactory\DI\DateTimeFactoryExtension

services:
- {factory: Symfony\Component\EventDispatcher\EventDispatcher}
Expand Down
Loading