-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Support PHP 8.1 #140
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more. 8000 p>
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
No description provided.