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

Update example to work with PHP 8 #11

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Update example to work with PHP 8 #11

merged 2 commits into from
Oct 24, 2023

Conversation

jeffreyparker
Copy link
Contributor

@jeffreyparker jeffreyparker commented Oct 16, 2023

Description

Updates the example to be compatible with PHP 8 by updating the slim dependencies and fixing a warning with the http_proxy array access. Slim no longer supports PHP 7.3, so also dropping support for that. (PHP 7.3 was EOL 12/2021. PHP 7.4 is also EOL, but still heavily used)

Motivation and Context

The example should work with all currently-supported versions of PHP.

How Has This Been Tested?

Manually verified locally, and added basic example app validation to the CI testing.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@jeffreyparker jeffreyparker force-pushed the php8_example branch 3 times, most recently from 3576fd2 to 8187423 Compare October 16, 2023 19:16
@mbish
Copy link
Contributor

mbish commented Oct 23, 2023

LGTM I just had one question but it's not blocking

@jeffreyparker jeffreyparker merged commit 081e470 into main Oct 24, 2023
4 checks passed
@jeffreyparker jeffreyparker deleted the php8_example branch October 24, 2023 14:58
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