Skip to content

Commit 827e7f1

Browse files
committed
Move Tool fixtures to agent component
All Tool fixtures now live in src/agent/tests/Fixtures/Tool with the Symfony\AI\Agent\Tests\Fixtures\Tool namespace. Platform tests use these via the symfony/ai-agent dev dependency.
1 parent f4c6893 commit 827e7f1

31 files changed

+54
-54
lines changed

fixtures/Tool/EnumMode.php renamed to src/agent/tests/Fixtures/Tool/EnumMode.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
enum EnumMode: string
1515
{

fixtures/Tool/EnumPriority.php renamed to src/agent/tests/Fixtures/Tool/EnumPriority.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
enum EnumPriority: int
1515
{

fixtures/Tool/ToolArray.php renamed to src/agent/tests/Fixtures/Tool/ToolArray.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515

fixtures/Tool/ToolArrayMultidimensional.php renamed to src/agent/tests/Fixtures/Tool/ToolArrayMultidimensional.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515
use Symfony\AI\Fixtures\SomeStructure;

fixtures/Tool/ToolCustomException.php renamed to src/agent/tests/Fixtures/Tool/ToolCustomException.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515
use Symfony\AI\Agent\Toolbox\Exception\ToolExecutionExceptionInterface;

fixtures/Tool/ToolDate.php renamed to src/agent/tests/Fixtures/Tool/ToolDate.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515

fixtures/Tool/ToolException.php renamed to src/agent/tests/Fixtures/Tool/ToolException.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515

fixtures/Tool/ToolMisconfigured.php renamed to src/agent/tests/Fixtures/Tool/ToolMisconfigured.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515

fixtures/Tool/ToolMultiple.php renamed to src/agent/tests/Fixtures/Tool/ToolMultiple.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
use Symfony\AI\Agent\Toolbox\Attribute\AsTool;
1515

fixtures/Tool/ToolNoAttribute1.php renamed to src/agent/tests/Fixtures/Tool/ToolNoAttribute1.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 Symfony\AI\Fixtures\Tool;
12+
namespace Symfony\AI\Agent\Tests\Fixtures\Tool;
1313

1414
final class ToolNoAttribute1
1515
{

0 commit comments

Comments
 (0)