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 #54

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

Conversation

alongosz
Copy link
Member

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

I've dropped ezpublish.http_cache.purger, ezpublish.http_cache.purger, and ezpublish.cache_clear.content.* service references usage as they no longer exist.

ℹ️ Both REST integration tests and browser tests won't be green until the entire full-stack app is upgraded.

Key changes:

  • [Composer] Dropped ci-scripts from dev requirements
  • [Composer] Bumped Symfony packages requirements to ^6.4
  • [Composer] Bumped 3rd party packages to Symfony 6 compatible version
  • Aligned Symfony Bundle extension points code with Symfony 6
  • Aligned Symfony HttpCache extension point code with Symfony 6
  • Aligned Twig extension points code with Symfony 6
  • Fixed DI prepend configuration
  • Improved codebase quality
  • Dropped handling obsolete service IDs from KernelPass
  • [Tests] Dropped obsolete KernelPassSpec
  • [Tests] Aligned TagHandlerSpec with Symfony 6
  • [Tests] Fixed incorrect ParameterBag being used in HttpCacheResponseSubscriberSpec

QA:

Sanities in the form of regression tests.

Documentation:

No documentation required.

Copy link

sonarcloud bot commented Nov 22, 2024

@@ -42,24 +42,21 @@ public function process(ContainerBuilder $container)
$container->setAlias(ContentTagInterface::class, 'fos_http_cache.http.symfony_response_tagger');
}

public static function getTaggedService(ContainerBuilder $container, $tag)
public static function getTaggedService(ContainerBuilder $container, $tag): string|null
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
public static function getTaggedService(ContainerBuilder $container, $tag): string|null
public static function getTaggedService(ContainerBuilder $container, $tag): ?string

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.

2 participants