Tags: webfactory/WebfactoryShortcodeBundle
Tags
Fix request parameter method call in `GuideController` (#46) The method [`$request->get()`](https://symfony.com/blog/new-in-symfony-7-4-request-class-improvements#deprecated-the-get-method) was removed in Symfony >= 8. Internal the method used either `$this->attributes->get()` or `$this->query->get()` or `$this->request->get()`. In this case we need to call `$request->query->get()`.
Switch from XML-based to PHP-based service configuration (#42) XML-based service configuration has been deprecated since symfony/symfony#60568 and will no longer be supported in Symfony 8.0. See also https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration. In order for ComposerRequireChecker to recognise where the functions come from, we have to import them explicitly. At the same time, PHP-CS-Fixer must not remove the import, which is actually superfluous. X-Ref GromNaN/symfony-config-xml-to-php#29, maglnet/ComposerRequireChecker#193 (comment)
PreviousNext