Skip to content

Add support for PHP 7.4, but drop support for below PHP 7.1 #27

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

Merged
merged 2 commits into from
Jul 9, 2020

Conversation

amcsi
Copy link
Contributor

@amcsi amcsi commented May 12, 2020

Seems like in order to support PHP 7.4 (#22), there's a bit of an avalanche effect that in order to be able to run the tests in PHP 7.4, Mockery needs to be upgraded, and in turn PHPUnit needs to be updated to such a version that requires you to use : void return typehints in setUp(), thus requiring a PHP version of at least 7.1.

In this PR I've done these upgrades and also changed the README to suggest people to require a not-yet-existing ^4.0 version of this library, assuming this is a big breaking change that would require a major version bump.

This PR is meant to replace #23 as a more comprehensive one that doesn't leave the repository in an untestable state for the newest PHP version it supports.

@amcsi
Copy link
Contributor Author

amcsi commented May 12, 2020

By the way, I don't know why the travis-ci tick is not appearing here, but the tests pass in CI:
https://travis-ci.org/github/mlanin/laravel-api-debugger/builds/686057337

@mlanin
Copy link
Owner

mlanin commented Jul 7, 2020

Sorry for the late response. Awesome pr! But can you please fix conflicts?

@amcsi
Copy link
Contributor Author

amcsi commented Jul 7, 2020

@mlanin Done.

@mlanin mlanin merged commit eed485a into mlanin:master Jul 9, 2020
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