When attempting to update to the latest version of Symfony, I encounter the following error:
PHP Fatal error: Declaration of APY\BreadcrumbTrailBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder in appName\vendor\apy\breadcrumbtrail-bundle\src\DependencyInjection\Configuration.php on line 19
Fatal error: Declaration of APY\BreadcrumbTrailBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder in appName\vendor\apy\breadcrumbtrail-bundle\src\DependencyInjection\Configuration.php on line 19
Symfony\Component\ErrorHandler\Error\FatalError^ {#3256
#message: "Compile Error: Declaration of APY\BreadcrumbTrailBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder"
#code: 0
#file: "appName\vendor\apy\breadcrumbtrail-bundle\src\DependencyInjection\Configuration.php"
#line: 19
-error: array:4 [
"type" => 64
"message" => "Declaration of APY\BreadcrumbTrailBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder"
"file" => "appName\vendor\apy\breadcrumbtrail-bundle\src\DependencyInjection\Configuration.php"
"line" => 19
]
}
When attempting to update to the latest version of Symfony, I encounter the following error: