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

Drop support for PHP 5.3 #410

Merged
merged 1 commit into from
Jan 4, 2018
Merged

Drop support for PHP 5.3 #410

merged 1 commit into from
Jan 4, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries

This PR drops support for PHP 5.3, and gets rid of some now unneeded stuff.

Note that the destination branch is integration-v6 instead of master so that we can merge all PRs going into stripe-php 6.0.0 and solve conflicts before merging into master.

Fixes #406, although the fix won't be effective until we merge into master and actually release a new major version.

@@ -60,6 +60,12 @@ Please see https://stripe.com/docs/api for up-to-date documentation.

## Legacy Version Support

### PHP 5.3

If you are using PHP 5.3, you can download v5.8.0 ([zip](https://github.com/stripe/stripe-php/archive/v5.8.0.zip), [tar.gz](https://github.com/stripe/stripe-php/archive/v5.8.0.tar.gz)) from our [releases page](https://github.com/stripe/stripe-php/releases). This version will continue to work with new versions of the Stripe API for all common uses.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth adding a scary blurb about how bad using this version (and 5.2) is?

Copy link
Contributor

Choose a reason for hiding this comment

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

Couldn't hurt!

- STRIPE_MOCK_VERSION=0.5.0
matrix:
- AUTOLOAD=1
- AUTOLOAD=0
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for changing this whole thing back :)

@brandur-stripe
Copy link
Contributor

LGTM.

@arcanedev-maroc
Copy link
Contributor

How about the short array syntax in PHP 5.4 ?

@ob-stripe
Copy link
Contributor Author

@arcanedev-maroc Yep, that's on my TODO list too! :)

@ob-stripe ob-stripe merged commit 8e2230f into integration-v6 Jan 4, 2018
@ob-stripe ob-stripe deleted the ob-drop-php53 branch January 4, 2018 15:45
@ob-stripe ob-stripe mentioned this pull request Jan 4, 2018
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants