Skip to content

Conversation

@alexandre-daubois
Copy link
Member

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

I'd suggest considering this one as a bug fix so all supported branches benefit from this.

public static function complianceCaseProvider(): iterable
{
$data = json_decode(file_get_contents(__DIR__.'/Fixtures/cts.json'), false, flags: \JSON_THROW_ON_ERROR);
$data = json_decode(file_get_contents(self::COMPLIANCE_TEST_SUITE_FILE), false, flags: \JSON_THROW_ON_ERROR);
Copy link
Member

Choose a reason for hiding this comment

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

wouldn't this break when running tests without the submodules installed ? Data providers are run before the setUp method.

Copy link
Member Author

Choose a reason for hiding this comment

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

I really don't understand how I've been able to skip all cases locally with this code. But anyway, I took the same approach as #62642

@nicolas-grekas
Copy link
Member

instead of gitmodules, can't we use composer? I think we do so already for the intl component (or emoji? I don't remember)

@stof
Copy link
Member

stof commented Dec 12, 2025

We could indeed use a package repository for composer. This is what I do for the sass-spec repo in https://github.com/scssphp/scssphp/ (and the setup could be simplified to avoid duplicating the commit reference btw not yet actually: composer/composer#12678).

@nicolas-grekas
Copy link
Member

I was thinking about the composer.json in this directory:
https://github.com/symfony/symfony/tree/8.1/src/Symfony/Component/Emoji/Resources/bin

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.

4 participants