Consistently use symfony/event-dispatcher-contracts

This commit is contained in:
Christopher Hertel
2026-03-15 22:47:06 +01:00
parent bc8181431f
commit af632c6249
3 changed files with 2 additions and 3 deletions

View File

@@ -41,7 +41,6 @@
"require": {
"php": ">=8.2",
"ext-fileinfo": "*",
"psr/event-dispatcher": "^1.0",
"psr/log": "^3.0",
"symfony/ai-platform": "^0.6",
"symfony/clock": "^7.3|^8.0",

View File

@@ -11,7 +11,6 @@
namespace Symfony\AI\Store;
use Psr\EventDispatcher\EventDispatcherInterface;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
use Symfony\AI\Store\Document\VectorDocument;
@@ -22,6 +21,7 @@ use Symfony\AI\Store\Query\HybridQuery;
use Symfony\AI\Store\Query\QueryInterface;
use Symfony\AI\Store\Query\TextQuery;
use Symfony\AI\Store\Query\VectorQuery;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/**
* @author Oskar Stark <oskarstark@googlemail.com>

View File

@@ -12,7 +12,6 @@
namespace Symfony\AI\Store\Tests;
use PHPUnit\Framework\TestCase;
use Psr\EventDispatcher\EventDispatcherInterface;
use Symfony\AI\Platform\Result\VectorResult;
use Symfony\AI\Platform\Vector\Vector;
use Symfony\AI\Store\Document\Metadata;
@@ -28,6 +27,7 @@ use Symfony\AI\Store\StoreInterface;
use Symfony\AI\Store\Tests\Double\PlatformTestHandler;
use Symfony\AI\Store\Tests\Double\TestStore;
use Symfony\Component\Uid\Uuid;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
/**
* @author Oskar Stark <oskarstark@googlemail.com>