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

Tests: improve PHP 8.4 deprecation work-around #170

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jul 12, 2024

Follow-up on PR #159.

This commit builds on the earlier change, but instead of making the whole AssertObjectEqualsTest class have a PHP 7.1 minimum requirement, it now limits that requirement to just the one affected test.

The affected test now uses a separate test fixture to allow the bulk of the tests to run on PHP 7.0 (which was the previous minimum requirement for these tests).

Follow-up on PR 159.

This commit builds on the earlier change, but instead of making the whole `AssertObjectEqualsTest` class have a PHP 7.1 minimum requirement, it now limits that requirement to just the one affected test.

The affected test now uses a separate test fixture to allow the bulk of the tests to run on PHP 7.0 (which was the previous minimum requirement for these tests).
@jrfnl jrfnl added this to the 1.x Next milestone Jul 12, 2024
@coveralls
Copy link

Coverage Status

coverage: 95.833% (+0.2%) from 95.679%
when pulling 5c58570 on feature/improve-php-8.4-workaround-implicitly-nullable
into 8c2f833 on 2.x.

@jrfnl jrfnl merged commit 92b81d8 into 2.x Jul 12, 2024
155 checks passed
@jrfnl jrfnl deleted the feature/improve-php-8.4-workaround-implicitly-nullable branch July 12, 2024 03:54
@jrfnl jrfnl restored the feature/improve-php-8.4-workaround-implicitly-nullable branch July 12, 2024 03:58
@jrfnl
Copy link
Collaborator Author

jrfnl commented Jul 12, 2024

Superseded by #171 (this was pulled to the wrong branch 🤦🏻‍♀️ )

@jrfnl jrfnl deleted the feature/improve-php-8.4-workaround-implicitly-nullable branch July 12, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants