feat!: symfony7 compatibility
This commit is contained in:
@@ -11,7 +11,7 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
||||
class ABELkeycloakBearerOnlyAdapterExtension extends Extension
|
||||
{
|
||||
|
||||
public function load(array $configs, ContainerBuilder $container)
|
||||
public function load(array $configs, ContainerBuilder $container): void
|
||||
{
|
||||
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader->load('services.xml');
|
||||
|
||||
@@ -10,7 +10,7 @@ use Symfony\Component\Config\Definition\ConfigurationInterface;
|
||||
class Configuration implements ConfigurationInterface
|
||||
{
|
||||
|
||||
public function getConfigTreeBuilder()
|
||||
public function getConfigTreeBuilder(): TreeBuilder
|
||||
{
|
||||
$treeBuilder = new TreeBuilder("abel_keycloak_bearer_only_adapter");
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"php": ">=8.3",
|
||||
"symfony/config": "^6.0",
|
||||
"symfony/dependency-injection": "^6.0",
|
||||
"symfony/http-kernel": "^6.0",
|
||||
"symfony/security-bundle": "^6.0",
|
||||
"symfony/config": "^6.0 || ^7.0",
|
||||
"symfony/dependency-injection": "^6.0 || ^7.0",
|
||||
"symfony/http-kernel": "^6.0 || ^7.0",
|
||||
"symfony/security-bundle": "^6.0 || ^7.0",
|
||||
"guzzlehttp/guzzle": "^7",
|
||||
"ext-json": "*"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user