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

IBX-8470: Upgraded codebase to Symfony 6 #90

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Nov 25, 2024

Caution

This is a part of bigger set of changes, to be merged together when ready

  • Remove TMP commits before merge
🎫 Issue IBX-8470

Related PRs:

Description:

This PR bumps Symfony to v6 with necessary and optional codebase upgrades. Updated also PHPUnit configuration.

Key changes:

  • [Composer] Bumped Symfony packages requirements to ^6.4
  • [Composer] Bumped jms/translation-bundle to ^2.4 for Symfony 6 compat.
  • [Composer] Dropped obsolete dependency on ibexa/ci-scripts
  • Aligned Symfony Bundle extension points code with Symfony 6
  • Refactored Legacy naming for Ibexa Core default settings
  • [Composer] Dropped cyclic dependency on ibexa/fieldtype-richtext
  • [Security] Aligned DefaultAuthenticationFailureHandler with Symfony 6
  • Upgraded Symfony Forms extension point code to Symfony 6
  • Improved DateTime Formatter code quality
  • Aligned Symfony Validator extension point code with Symfony 6
  • [PHPStan] Removed resolved issues from the baseline
  • [DI] Autoconfigured controllers for Symfony 6
  • [PHPUnit] Migrated configuration from a deprecated schema

QA:

Sanities in the form of regression tests.

Documentation:

No documentation required.

@alongosz alongosz marked this pull request as ready for review November 25, 2024 15:01
@@ -28,6 +28,7 @@ services:

Ibexa\Bundle\User\Controller\UserRegisterController:
autowire: true
autoconfigure: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Considering other controllers in the file did not receive this change, and that this tags were already applied to the service declaration, what is the difference? What in particular was missing (not autoconfigured)?

xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>src</directory>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<directory>src</directory>
<directory suffix=".php">src</directory>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants