Skip to content

Commit 6dc1fa2

Browse files
committed
Rename AIBundle to AiBundle
1 parent dab21e0 commit 6dc1fa2

18 files changed

+39
-39
lines changed

.phpstan/ForbidNativeExceptionRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final class ForbidNativeExceptionRule implements Rule
5353
'Symfony\\AI\\Platform' => 'Symfony\\AI\\Platform\\Exception\\',
5454
'Symfony\\AI\\Store' => 'Symfony\\AI\\Store\\Exception\\',
5555
'Symfony\\AI\\McpSdk' => 'Symfony\\AI\\McpSdk\\Exception\\',
56-
'Symfony\\AI\\AIBundle' => 'Symfony\\AI\\AIBundle\\Exception\\',
56+
'Symfony\\AI\\AiBundle' => 'Symfony\\AI\\AiBundle\\Exception\\',
5757
'Symfony\\AI\\McpBundle' => 'Symfony\\AI\\McpBundle\\Exception\\',
5858
];
5959

demo/config/bundles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
Symfony\UX\Turbo\TurboBundle::class => ['all' => true],
2323
Symfony\UX\Icons\UXIconsBundle::class => ['all' => true],
2424
Symfony\UX\Typed\TypedBundle::class => ['all' => true],
25-
Symfony\AI\AIBundle\AIBundle::class => ['all' => true],
25+
Symfony\AI\AiBundle\AiBundle::class => ['all' => true],
2626
Symfony\AI\McpBundle\McpBundle::class => ['all' => true],
2727
];

src/ai-bundle/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
},
3535
"autoload": {
3636
"psr-4": {
37-
"Symfony\\AI\\AIBundle\\": "src/"
37+
"Symfony\\AI\\AiBundle\\": "src/"
3838
}
3939
},
4040
"autoload-dev": {
4141
"psr-4": {
42-
"Symfony\\AI\\AIBundle\\Tests\\": "tests/",
42+
"Symfony\\AI\\AiBundle\\Tests\\": "tests/",
4343
"Symfony\\AI\\PHPStan\\": "../../.phpstan/"
4444
}
4545
}

src/ai-bundle/config/services.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
use Symfony\AI\Agent\Toolbox\ToolFactory\AbstractToolFactory;
2222
use Symfony\AI\Agent\Toolbox\ToolFactory\ReflectionToolFactory;
2323
use Symfony\AI\Agent\Toolbox\ToolResultConverter;
24-
use Symfony\AI\AIBundle\Profiler\DataCollector;
25-
use Symfony\AI\AIBundle\Profiler\TraceableToolbox;
26-
use Symfony\AI\AIBundle\Security\EventListener\IsGrantedToolAttributeListener;
24+
use Symfony\AI\AiBundle\Profiler\DataCollector;
25+
use Symfony\AI\AiBundle\Profiler\TraceableToolbox;
26+
use Symfony\AI\AiBundle\Security\EventListener\IsGrantedToolAttributeListener;
2727
use Symfony\AI\Platform\Bridge\Anthropic\Contract\AnthropicContract;
2828
use Symfony\AI\Platform\Bridge\Gemini\Contract\GeminiContract;
2929
use Symfony\AI\Platform\Bridge\OpenAI\Whisper\AudioNormalizer;

src/ai-bundle/src/AIBundle.php renamed to src/ai-bundle/src/AiBundle.php

Lines changed: 6 additions & 6 deletions
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\AIBundle;
12+
namespace Symfony\AI\AiBundle;
1313

1414
use Symfony\AI\Agent\Agent;
1515
use Symfony\AI\Agent\AgentInterface;
@@ -21,10 +21,10 @@
2121
use Symfony\AI\Agent\Toolbox\Tool\Agent as AgentTool;
2222
use Symfony\AI\Agent\Toolbox\ToolFactory\ChainFactory;
2323
use Symfony\AI\Agent\Toolbox\ToolFactory\MemoryToolFactory;
24-
use Symfony\AI\AIBundle\Exception\InvalidArgumentException;
25-
use Symfony\AI\AIBundle\Profiler\TraceablePlatform;
26-
use Symfony\AI\AIBundle\Profiler\TraceableToolbox;
27-
use Symfony\AI\AIBundle\Security\Attribute\IsGrantedTool;
24+
use Symfony\AI\AiBundle\Exception\InvalidArgumentException;
25+
use Symfony\AI\AiBundle\Profiler\TraceablePlatform;
26+
use Symfony\AI\AiBundle\Profiler\TraceableToolbox;
27+
use Symfony\AI\AiBundle\Security\Attribute\IsGrantedTool;
2828
use Symfony\AI\Platform\Bridge\Anthropic\PlatformFactory as AnthropicPlatformFactory;
2929
use Symfony\AI\Platform\Bridge\Azure\OpenAI\PlatformFactory as AzureOpenAIPlatformFactory;
3030
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory as GeminiPlatformFactory;
@@ -60,7 +60,7 @@
6060
/**
6161
* @author Christopher Hertel <[email protected]>
6262
*/
63-
final class AIBundle extends AbstractBundle
63+
final class AiBundle extends AbstractBundle
6464
{
6565
public function configure(DefinitionConfigurator $definition): void
6666
{

src/ai-bundle/src/Exception/ExceptionInterface.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\AIBundle\Exception;
12+
namespace Symfony\AI\AiBundle\Exception;
1313

1414
/**
1515
* @author Christopher Hertel <[email protected]>

src/ai-bundle/src/Exception/InvalidArgumentException.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\AIBundle\Exception;
12+
namespace Symfony\AI\AiBundle\Exception;
1313

1414
/**
1515
* @author Christopher Hertel <[email protected]>

src/ai-bundle/src/Profiler/DataCollector.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\AIBundle\Profiler;
12+
namespace Symfony\AI\AiBundle\Profiler;
1313

1414
use Symfony\AI\Agent\Toolbox\ToolboxInterface;
1515
use Symfony\AI\Platform\Model;

src/ai-bundle/src/Profiler/TraceablePlatform.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\AIBundle\Profiler;
12+
namespace Symfony\AI\AiBundle\Profiler;
1313

1414
use Symfony\AI\Platform\Message\Content\File;
1515
use Symfony\AI\Platform\Model;

src/ai-bundle/src/Profiler/TraceableToolbox.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\AIBundle\Profiler;
12+
namespace Symfony\AI\AiBundle\Profiler;
1313

1414
use Symfony\AI\Agent\Toolbox\ToolboxInterface;
1515
use Symfony\AI\Platform\Result\ToolCall;

0 commit comments

Comments
 (0)