Skip to content

Conversation

flohw
Copy link
Contributor

@flohw flohw commented Aug 26, 2025

relates to #127

As far as I understood it, it's due to Assert::is which is the same as assertSame of phpunit.

I switched to Assert::equals which is the same as assertEquals of phpunit.

The error will now be throw only if two array:list are compared.

As it's not an issue for a json object to have a different index order, this fix is fine to me. Let me know if there is another option you have in mind.

The message comes from zenstruck/assert library but I don't think we can improve that...

@nikophil
Copy link
Member

I'm all good for that fix 👍

but why did you change the workflow?

@flohw
Copy link
Contributor Author

flohw commented Aug 26, 2025

Tried to fix the issues mentioned in #178 with nearest commit from 1/12/2022 (latest change on the line).

As it's not working, I will revert that. :-)

@nikophil
Copy link
Member

I'm merging this PR, but I'd really like that we fix the CI before any further release

@nikophil nikophil merged commit 5105bdb into zenstruck:1.x Aug 26, 2025
4 of 20 checks passed
@flohw flohw deleted the issues/127 branch August 26, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants