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

Updating the codebase to php 8 #7325

Open
1 of 4 tasks
mamazu opened this issue Mar 23, 2024 · 0 comments
Open
1 of 4 tasks

Updating the codebase to php 8 #7325

mamazu opened this issue Mar 23, 2024 · 0 comments
Labels
DX Affecting the end developer Technical Debt Impacts code quality, no or just small impact on end developers and users

Comments

@mamazu
Copy link
Contributor

mamazu commented Mar 23, 2024

Problem description

We want to use all the new and good stuff from PHP8. But not make any BC breaking changes.

  • Using match
  • Constructor Property Promotion
  • New string function (str_starts_with, str_ends_with, str_contains)
  • Using the new fn callback syntax

Proposed solution

To reduce amount of errors most of the refactoring should be done with rector.

@mamazu mamazu added the Feature New functionality not yet included in Sulu label Mar 23, 2024
@mamazu mamazu added Technical Debt Impacts code quality, no or just small impact on end developers and users DX Affecting the end developer and removed Feature New functionality not yet included in Sulu labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

No branches or pull requests

1 participant