Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #1339 Upgrade to Symfony 6.1 (javiereguiluz)
This PR was squashed before being merged into the main branch. Discussion ---------- Upgrade to Symfony 6.1 Don't mind much about the `sanitize_html` Twig filter. I added it quickly to make the application work. We're discussing about how adding again this Twig filter in the Symfony HtmlSanitizer component. ----- These are the remaining deprecations: ``` Remaining indirect deprecation notices (6) 1x: The "DAMA\DoctrineTestBundle\Doctrine\DBAL\StaticDriver" class implements "Doctrine\DBAL\VersionAwarePlatformDriver" that is deprecated All drivers will have to be aware of the server version in the next major release. 1x in PHPUnitExtension::executeBeforeFirstTest from DAMA\DoctrineTestBundle\PHPUnit 1x: The "Symfony\Bridge\Doctrine\Logger\DbalLogger" class implements "Doctrine\DBAL\Logging\SQLLogger" that is deprecated Use {`@see` \Doctrine\DBAL\Logging\Middleware} or implement {`@see` \Doctrine\DBAL\Driver\Middleware} instead. 1x in AddUserCommandTest::testCreateUserNonInteractive from App\Tests\Command 1x: Method "ArrayAccess::offsetExists()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Dflydev\DotAccessData\Data" now to avoid errors or add an explicit `@return` annotation to suppress this message. 1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin 1x: Method "ArrayAccess::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Dflydev\DotAccessData\Data" now to avoid errors or add an explicit `@return` annotation to suppress this message. 1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin 1x: Method "ArrayAccess::offsetSet()" might add "void" as a native return type declaration in the future. Do the same in implementation "Dflydev\DotAccessData\Data" now to avoid errors or add an explicit `@return` annotation to suppress this message. 1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin 1x: Method "ArrayAccess::offsetUnset()" might add "void" as a native return type declaration in the future. Do the same in implementation "Dflydev\DotAccessData\Data" now to avoid errors or add an explicit `@return` annotation to suppress this message. 1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin ``` `@dmaicher` do you know how can we remove the deprecation notice about DoctrineTestBundle? Thanks! `@derrabus` do you know how can we fix the deprecation about `Symfony\Bridge\Doctrine\Logger\DbalLogger`? Thanks! Commits ------- e79b100 Upgrade to Symfony 6.1
- Loading branch information