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

Soft drop PHP 5.X support, in favour of PHP 7.4 "out of the box" #509

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

gregcorbett
Copy link
Member

@gregcorbett gregcorbett commented Feb 27, 2024

This PR soft drops support for PHP 5.X, in favour of PHP 7.4 support "out of the box".

It is still possible to run GOCDB on PHP 5.X - however this will require specific deployments reverting this commit to restore the appropriate composer files.

The composer-5.4.{json, lock} files will remain in the short term to facilitiate the above and to enable continued testing of the codebase against PHP 5.X. These files will be removed from the repository after 1st July 2024, along with automated testing of PHP 5.X.

NB: The diff rendered here is slightly weird...

  • it appears as a rename of the composer-7.4 files to the composer-5.4 files, which is not what has happened.
  • the pre-existing composer files were renamed to composer-5.4 files and then the composer-7.4 files were renamed to the composer files.

- This commit drops support for PHP 5.X, in favour of PHP 7.4
  support "out of the box".
- It is still possible to run GOCDB on PHP 5.X - however this
  will require specific deployments reverting this commit
  to restore the appropriate composer files.
- The `composer-5.4.{json, lock}` files will remain in the
  short term to facilitiate continued testing of the
  codebase against PHP 5.X. These files will be removed
  from the repository after 1st July 2024.
- NB: The diff rendered here is slightly weird.
  - it appears as a rename of the composer-7.4 files to the
    composer-5.4 files, which is not what has happened.
  - the pre-existing composer files were renamed to
    composer-5.4 files and then the composer-7.4 files
    were renamed to the composer files
@gregcorbett gregcorbett added this to the 5.12.0 milestone Feb 27, 2024
@gregcorbett gregcorbett self-assigned this Feb 27, 2024
@gregcorbett gregcorbett requested a review from a team as a code owner February 27, 2024 14:44
@gregcorbett gregcorbett mentioned this pull request Feb 27, 2024
@gregcorbett
Copy link
Member Author

#494 is the PR to actually drop PHP 5.X support.

Copy link
Contributor

@Sae126V Sae126V left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gregcorbett gregcorbett merged commit a017303 into GOCDB:dev Mar 20, 2024
8 checks passed
@gregcorbett gregcorbett deleted the soft-drop-php5.4 branch March 20, 2024 14:10
@gregcorbett gregcorbett mentioned this pull request Mar 20, 2024
4 tasks
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