FrontYAML icon indicating copy to clipboard operation
FrontYAML copied to clipboard

Update to PHP 8.4

Open settermjd opened this issue 7 months ago • 2 comments

I've been refactoring and modernising an older code base recently and hit a wall using PHP 8.4 because of the current implementation of FrontYaml. Given that I love using it and want to continue, I've created this PR to modernise it for PHP 8.4 (and to remove explicit support for older versions that are long since EOL).

Specifically, the PR:

  • Updates the required versions of PHP to be 8.2 - 8.4
  • Updates the third party packages (both dev and non-dev) to be the latest version that supports PHP 8.2
  • Completes adding type support throughout the library
  • Removes any deprecated or soon-to-be deprecated code
  • Updates the "ci" GitHub Workflow configuration to reflect the newly supported PHP versions, and to update outdated dependencies to the latest versions

settermjd avatar Apr 26 '25 12:04 settermjd

@mnapoli, thanks for taking the time to review my PR.

settermjd avatar Apr 27 '25 11:04 settermjd

Hey @mnapoli, any further feedback?

settermjd avatar May 01 '25 12:05 settermjd

Ping @mnapoli.

settermjd avatar Aug 08 '25 01:08 settermjd

Hey @settermjd

Catching up with this, is my comment above not relevant anymore?

This is a BC break, we can't merge that as-is.

mnapoli avatar Aug 08 '25 10:08 mnapoli

@mnapoli thanks for catching my mistake, earlier. I've added a further commit, adding further type support. Otherwise, I've left the code as is. I'm up for creating a further PR adding in more QA tooling, and improving the code styling.

settermjd avatar Oct 10 '25 11:10 settermjd