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

Bump minimum PHP requirement from 5.6 to 7.1 #7

Merged
merged 5 commits into from
Mar 13, 2020

Conversation

tangrufus
Copy link
Collaborator

  • Bump minimum PHP requirement from 5.6 to 7.1 (inline with Bedrock)
  • Add PHP 7.3 and 7.4 to test matrix
  • Update dependencies

See: #4

- Bump minimum PHP requirement from 5.6 to 7.1 (inline with [Bedrock](https://github.com/roots/bedrock/blob/ff5e28ac74f1e9aac1b44f8d197054a34eb85079/composer.json#L33))
- Add PHP 7.3 and 7.4 to test matrix
- Update dependencies

See: roots#4
@tangrufus
Copy link
Collaborator Author

@tangrufus tangrufus mentioned this pull request Mar 13, 2020
@austinpray
Copy link
Collaborator

Need help fixing https://travis-ci.com/github/roots/wp-config/jobs/297776514#L267

It's probably phpdbg mismatching with the PHP version. Can peep this soon

Copy link
Collaborator

@austinpray austinpray left a comment

Choose a reason for hiding this comment

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

Thank you!!

composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
tangrufus added a commit to tangrufus/wp-config that referenced this pull request Mar 13, 2020
tangrufus added a commit to tangrufus/wp-config that referenced this pull request Mar 13, 2020
@@ -28,12 +28,12 @@ echo WP_DEBUG_DISPLAY;

Just run `make` to do everything

We use PHPUnit 5 because it has compatibility for PHP 5.6
We use PHPUnit 7 because it has compatibility for PHP 7.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
We use PHPUnit 7 because it has compatibility for PHP 7.1
We use PHPUnit

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Shouldn't we explain/warn developers about why we not using the latest versions of PHPUnit?

@coveralls
Copy link

Pull Request Test Coverage Report for Build 32

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 23: 0.0%
Covered Lines: 17
Relevant Lines: 17

💛 - Coveralls

Copy link
Collaborator

@austinpray austinpray left a comment

Choose a reason for hiding this comment

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

that fix in 8430f4e LGTM: we will move off travis eventually so it's only temporary 👍

@tangrufus
Copy link
Collaborator Author

It's probably phpdbg mismatching with the PHP version. Can peep this soon

Fixed by running Test Coverage on PHP 7.1

Also running Code Style on PHP 7.1 just in case we used PHP 7.2+ syntax

@austinpray austinpray merged commit 79d0404 into roots:master Mar 13, 2020
@tangrufus tangrufus deleted the php-versions branch March 13, 2020 14:26
@austinpray
Copy link
Collaborator

🎉 🎉 🎉 thank you @tangrufus !

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.

3 participants