Skip to content

Conversation

@kocsismate
Copy link
Member

No description provided.

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

I have looked at all WHATWG tests.

@kocsismate
Copy link
Member Author

Can you pleas take another look? I supposedly addressed all the review comments.

@kocsismate
Copy link
Member Author

@TimWolla Do you have time for review? If not, can I proceed with the merge? I think it's ready for that.

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

Sorry for the delayed review, I missed the notification of the first ping and was traveling for the second one.

I'm still having some troubles with the “include fragment” vs “exclude fragment” tests, since it's hard for me to match up which “include” test belongs to which “exclude” tests (or to verify if they actually come in pairs).

I would suggest refactoring the fragment tests to always include both the include and the exclude parameter, so basically 4 “assertions”:

var_dump($uri1->equals($uri2, Uri\UriComparisonMode::ExcludeFragment));
var_dump($uri2->equals($uri1, Uri\UriComparisonMode::ExcludeFragment));
var_dump($uri1->equals($uri2, Uri\UriComparisonMode::IncludeFragment));
var_dump($uri2->equals($uri1, Uri\UriComparisonMode::IncludeFragment));

This allows one to immediately see if the fragment inclusion changes something or not.

@kocsismate kocsismate changed the base branch from master to PHP-8.5 January 2, 2026 13:05
@kocsismate
Copy link
Member Author

kocsismate commented Jan 2, 2026

I cleaned up the the fragment tests and I slightly renamed most tests. Also, I changed the target to PHP 8.5

@TimWolla TimWolla self-requested a review January 6, 2026 08:04
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

If these two comments are fixed this LGTM. Thank you and sorry for taking this long to review.

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