8000 Support PHP 8.1 by GrahamCampbell · Pull Request #140 · guzzle/promises · GitHub
[go: up one dir, main page]

Skip to content

Support PHP 8.1 #140

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 4 commits into from
Oct 2, 2021
Merged

Support PHP 8.1 #140

merged 4 commits into from
Oct 2, 2021

Conversation

GrahamCampbell
Copy link
Member

No description provided.

Copy link
Member
@Nyholm Nyholm 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

- name: Run tests
run: ./vendor/bin/simple-phpunit
env:
SYMFONY_PHPUNIT_VERSION: 9.5
Copy link
Member

Choose a reason for hiding this comment

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

Can we let the phpunit bridge decide the version?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, because it chooses 9.4 which causes the tests to fail on PHP 8.1.

Copy link
Member Author

Choose a reason for hiding this comment

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

This change just forces it to use the latest PHPUnit 9.x on PHP 8, which is reasonable IMO.

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI, this will be fixed in the next Symfony releases: symfony/symfony#43200


- name: Run tests
run: ./vendor/bin/simple-phpunit

build8:
name: Build PHP 8
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we use the "build" job?

Copy link
Member Author
@GrahamCampbell GrahamCampbell Sep 5, 2021

Choose a reason for hiding this comment

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

Easier to separate it out to force PHPUnit 9.5.

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
0