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

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

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 and improves codebase. I've added strict types to consts and missing return type(s) and I've also fixed PHPStan-specific data types type-hints to include phpstan- prefix as those are not recognized by phpDocumentor and sometimes IDE.

Except for static analysis, it's hard to say if the code works because there's 0 test coverage here. Browser tests for now will fail, until all packages are upgraded.

Key changes:

  • Bumped Symfony packages requirements to ^6.4
  • [Composer] Disallowed plugins
  • [PHPDoc] Added missing throws to IbexaCoreSearchExtension::load method
  • Added strict types to the contracts
  • [PHPDoc] Fixed PHPStan type-hints

QA:

Sanities in the form of regression tests.

Documentation:

No documentation required.

@alongosz alongosz marked this pull request as ready for review November 19, 2024 12:53
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.

1 participant