File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 fail-fast : true
1111 matrix :
12- php : [8.2, 8.3, 8.4]
13- symfony : [^6.4, false]
12+ php : [8.2, 8.3, 8.4, 8.5 ]
13+ symfony : [false]
1414 dependency : [stable]
1515 include :
16+ - { php: 8.2, symfony: ^6.4 , dependency: stable }
1617 - { php: 8.4, symfony: ^7.4, dependency: highest }
17- - { php: 8.4, symfony: ^8.0 , dependency: highest }
18+ - { php: 8.4, symfony: false , dependency: highest }
1819
1920 env :
2021 SYMFONY_REQUIRE : ${{ matrix.symfony }}
Original file line number Diff line number Diff line change 77use OpenAI \Client ;
88use OpenAI \Contracts \ClientContract ;
99use OpenAI \Factory ;
10- use Symfony \Component \Config \Definition \Builder \ArrayNodeDefinition ;
1110use Symfony \Component \Config \Definition \Configurator \DefinitionConfigurator ;
1211use Symfony \Component \DependencyInjection \ContainerBuilder ;
1312use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
@@ -23,7 +22,6 @@ final class OpenAIBundle extends AbstractBundle
2322 public function configure (DefinitionConfigurator $ definition ): void
2423 {
2524 $ root = $ definition ->rootNode ();
26- assert ($ root instanceof ArrayNodeDefinition);
2725 $ children = $ root ->children ();
2826 $ children
2927 ->scalarNode ('api_key ' )
You can’t perform that action at this time.
0 commit comments