Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevKit updates for 3.x branch #667

Merged
merged 3 commits into from
Mar 11, 2023
Merged

DevKit updates for 3.x branch #667

merged 3 commits into from
Mar 11, 2023

Conversation

SonataCI
Copy link
Collaborator

@SonataCI SonataCI commented Mar 5, 2023

Changelog

### Removed
- Support for PHP 7.4
- Support for Symfony 6.0 and 6.1

@franmomu franmomu force-pushed the 3.x-dev-kit branch 2 times, most recently from 20d4ce5 to c7413a1 Compare March 9, 2023 20:59
tests/App/Entity/KnpCategoryTranslation.php Outdated Show resolved Hide resolved
tests/Fixtures/Model/ModelTranslatable.php Outdated Show resolved Hide resolved
src/Admin/Extension/AbstractTranslatableAdminExtension.php Outdated Show resolved Hide resolved
src/Block/LocaleSwitcherBlockService.php Outdated Show resolved Hide resolved
src/Provider/Knplabs/LocaleProvider.php Outdated Show resolved Hide resolved
src/Provider/RequestLocaleProvider.php Outdated Show resolved Hide resolved
@franmomu franmomu force-pushed the 3.x-dev-kit branch 2 times, most recently from 7cb55cc to acf621d Compare March 10, 2023 06:57
*/
#[ORM\Id]
#[ORM\Column(type: Types::INTEGER)]
#[ORM\GeneratedValue()]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[ORM\GeneratedValue()]
#[ORM\GeneratedValue]

*/
#[ORM\Id]
#[ORM\Column(type: Types::INTEGER)]
#[ORM\GeneratedValue()]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[ORM\GeneratedValue()]
#[ORM\GeneratedValue]

composer.json Outdated
@@ -34,12 +34,13 @@
"twig/twig": "^2.12 || ^3.0"
},
"require-dev": {
"doctrine/doctrine-bundle": "^2.4",
"doctrine/dbal": "^2.13.9",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"doctrine/dbal": "^2.13.9",
"doctrine/dbal": "^3.4",

We are dropping dbal 2 from all repos.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was checking that if I do that, because of https://github.com/KnpLabs/DoctrineBehaviors/pull/682/files, some symfony dependencies will be raised to 5.4.

Maybe it's also time to drop Symfony 4.4? since we are also supporting another LTS (5.4)

Copy link
Member

@jordisala1991 jordisala1991 Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous doctrine behavior versions also support dbal 3 , so it is fine, afaik you wont be dropping sf 4.4 by doing this

Copy link
Member

@franmomu franmomu Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then you might want to allow dbal 2 and 3, for the moment.

Then we can discuss about dropping symfony 4.4. (I would wait to another round of PRs, since this migration to php8.0 is already taking some time).

wdyt @VincentLanglet ?

@franmomu franmomu force-pushed the 3.x-dev-kit branch 4 times, most recently from 3d56385 to ad20412 Compare March 11, 2023 07:14
@franmomu franmomu added the minor label Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants