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

API phpunit 9 support #28

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz changed the base branch from master to 2 October 13, 2021 00:44
@emteknetnz emteknetnz changed the title Pulls/2/sapphire test nine API phpunit 9 support Oct 13, 2021
@emteknetnz emteknetnz force-pushed the pulls/2/sapphire-test-nine branch 4 times, most recently from cba68d0 to 774b5ea Compare October 24, 2021 05:26
@emteknetnz emteknetnz marked this pull request as ready for review October 26, 2021 02:02
Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

Just need to update the module to officially support PHP8 and run a PHP8 build.

.travis.yml Outdated
Comment on lines 10 to 11
- php: 7.4
env: PHPUNIT_TEST=1
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- php: 7.4
env: PHPUNIT_TEST=1
- php: 7.4
env: PHPUNIT_TEST=1
- php: 8.0
env: PHPUNIT_TEST=1

If you want to go a step beyond, you could remove the PHPUNIT_TEST env var altogether and always run the build.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

composer.json Outdated
@@ -3,23 +3,18 @@
"description": "Connects the PHP development server to SilverStripe",
"license": "MIT",
"require": {
"php": "^5.6||^7.0",
"php": "^7.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"php": "^7.3",
"php": "^7.3 || ^8.0",

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

@emteknetnz emteknetnz force-pushed the pulls/2/sapphire-test-nine branch from 774b5ea to 1939528 Compare November 1, 2021 20:51
@emteknetnz emteknetnz force-pushed the pulls/2/sapphire-test-nine branch from 1939528 to 9ad015f Compare November 1, 2021 20:52
Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

LGTM

@maxime-rainville maxime-rainville merged commit deecedd into silverstripe:2 Nov 2, 2021
@maxime-rainville maxime-rainville deleted the pulls/2/sapphire-test-nine branch November 2, 2021 01:22
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