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 Composer to support Laravel 6.x, move from Phpsafari -> PhpSafari #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jason-klein
Copy link

The phpsafari/health-checks (https://github.com/OveD-php/health-checks) library depends on this library. I have updated both libraries to support Laravel 6.x and am submitting PR for both libraries.

I also updated the namespace in this library so it is consistent with phpsafari/health-checks. @vistik made a similar change to the phpsafari/health-checks library a while back. See this commit:
OveD-php/health-checks@050393e

I will also submit a PR to phpsafari/health-checks with Laravel 6.x upgrades.

Both PRs should be tagged/released at the same time (e.g. this as v2.0.3, the other as v0.0.8), since my other PR expects this library to change from "Phpsafari" to "PhpSafari"

@jason-klein
Copy link
Author

Sorry I did not test with Travis CI prior to submitting the PR. I see that CI is testing against PHP 7.0 and PHP 7.1. The test is failing because PHPUnit 8.x is not compatible with PHP 7.0 or 7.1. We are using PHPUnit 8.x because Laravel 6 requires PHP 7.2+ (see notes below) which means we do not need to continue supporting PHPUnit 6/7. I'll attempt to submit an update for Travis CI to test with PHP 7.2 and PHP 7.3 only.

My suggestion would be to bump the versioning of your Laravel packages to align with Laravel versioning so that the existing version (0.0.7) remains available for Laravel 5.x users and a new version (e.g. 6.0.0) is available for Laravel 6.x users.

Per the Laravel 5.5 Upgrade Notes:

Laravel 5.5 requires PHP 7.0.0 or higher.

Per the Laravel 6.0 Upgrade Notes:

PHP 7.1 will no longer be actively maintained as of December 2019. Therefore, Laravel 6.0 requires PHP 7.2 or greater.

…HP 7.0/7.1

Per my comments in PR 3 (OveD-php#3):

My suggestion would be to bump the versioning of your Laravel packages to
align with Laravel versioning so that the existing version (0.0.7) remains
available for Laravel 5.x users and a new version (e.g. 6.0.0) is available
for Laravel 6.x users.
jason-klein added a commit to jason-klein/health-checks that referenced this pull request Nov 26, 2019
…HP 7.0/7.1

Per my comments in this PR (OveD-php/typed-collections#3):

My suggestion would be to bump the versioning of your Laravel packages to
align with Laravel versioning so that the existing versions (0.0.7, 2.0.2)
remain available for Laravel 5.x users and a new version (e.g. 6.0.0) is
available for Laravel 6.x users.
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.

1 participant