Skip to content

Conversation

@alongosz
Copy link
Member

@alongosz alongosz commented Nov 19, 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 codebase upgrades.

Key changes:

  • [Git] Added missing tests/bundle directory
  • Bumped Symfony packages requirements to ^6.4
  • Upgraded Twig extension points code
  • Upgraded Symfony bundle extension points code
  • Upgraded Symfony Asset extension point code
  • Improved codebase
  • Refactored greedy array_merge to foreach loop

QA:

Sanities in the form of regression tests.

Documentation:

No documentation required.

Copy link

@konradoboza konradoboza left a comment

Choose a reason for hiding this comment

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

However, switching to constructor property promotion within similar small PRs is pretty easy, so I would do this. Unless, there is plan to "Rectorize" all the codebase or perform any automatic voodoo to make it happen.

use Twig\Profiler\Profile;

class TwigDataCollector extends BaseCollector implements LateDataCollectorInterface
class TwigDataCollector extends BaseCollector

Choose a reason for hiding this comment

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

Suggested change
class TwigDataCollector extends BaseCollector
final class TwigDataCollector extends BaseCollector

Comment on lines 27 to 29
/**
* @var \Ibexa\DesignEngine\Templating\TemplatePathRegistryInterface
*/

Choose a reason for hiding this comment

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

Suggested change
/**
* @var \Ibexa\DesignEngine\Templating\TemplatePathRegistryInterface
*/

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2025

@adamwojs adamwojs merged commit 49e9c82 into main Feb 4, 2025
10 checks passed
@adamwojs adamwojs deleted the ibx-8470-symfony-6 branch February 4, 2025 11:57
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.

4 participants