Skip to content

Support for Symfony 8.0 #36

@Progi1984

Description

@Progi1984

Since Symfony 8.0 (symfony/config), the ConfigurationInterface has changed :

https://github.com/symfony/config/blob/8.0/Definition/ConfigurationInterface.php#L28

And the Configuration has not the good signature :

https://github.com/redjanym/FCMBundle/blob/master/DependencyInjection/Configuration.php#L18

So the next error is displayed :

PHP Fatal error:  Declaration of RedjanYm\FCMBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder in /home/runner/work/project/project/vendor/redjanym/fcm-bundle/DependencyInjection/Configuration.php on line 18

Thanks @redjanym for your bundle :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions