Skip to content

Modernize codebase & dependencies #328

@jmsche

Description

@jmsche

Hi @Guikingone, I hope you're well :)

As PHP 8.5 & Symfony 8 are around the corner, I was planning to help modernize the bundle if you're okay with it.

Here is what I think should be upgraded/fixed:

  • GitHub workflows: use most recent versions of actions
  • PHP requirement: currently the bundle requires PHP 8.0+. I think it should require at least PHP 8.2, maybe PHP 8.3? (as 8.2 is already in "security fixes only" phase)
  • Symfony requirement: add ^8.0, drop ^5.4, change ^7.0 to ^7.3 (or ^7.4, depends when we're going to achieve this); about ^6.0, at least change it to ^6.4, maybe drop it?
  • PHPStan: upgrade to v2 + fix static analysis
  • PHPUnit: upgrade to either v11 or v12, depending on the minimum PHP version (v12 requires PHP 8.3)
  • Rector: upgrade to v2
  • Fix PHP 8.5 deprecations if any

Are you okay with this plan? Do you see anything that's wrong or missing?

Thanks in advance for your reply, and thanks for the bundle :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions