Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 15, 2025

No description provided.


// fetch a few packages needed for testing
MakerTestProcess::create('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath)
MakerTestProcess::create('composer require phpunit:1.1.* browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath)
Copy link
Member Author

Choose a reason for hiding this comment

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

symfony/test-pack 1.2 brings us PHPUnit 12 which the tests don't run with

Copy link
Member

Choose a reason for hiding this comment

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

1.1.* is weird. Don't you mean 11.* instead ?

Copy link
Member Author

Choose a reason for hiding this comment

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


MakerTestProcess::create(
\sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress', $versionString, $flexProjectDir),
\sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress --keep-vcs', $versionString, $flexProjectDir),
Copy link
Member Author

Choose a reason for hiding this comment

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

not sure when this broke but we need the .git directory as the created project serves as the base repository for the following tests

Copy link
Member

Choose a reason for hiding this comment

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

IIRC, it relied on Flex running git init to create a new git repository (free from the history of the skeleton)

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, that might indeed explain it

Copy link

@nxtpge nxtpge Nov 19, 2025

Choose a reason for hiding this comment

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

Thank you @xabbuh, this change solved the problem I faced while trying to run the repository tests.

Now, I can complete my feature.

@xabbuh xabbuh force-pushed the ci-fix branch 2 times, most recently from d18a933 to 06feabf Compare November 16, 2025 12:41
@xabbuh xabbuh changed the title fix the CI do not serialize the password property for users without passwords Nov 16, 2025
@Kocal
Copy link
Member

Kocal commented Nov 19, 2025

👀

@xabbuh xabbuh changed the title do not serialize the password property for users without passwords do not implement __serialize() for users without passwords Nov 19, 2025
@xabbuh xabbuh changed the title do not implement __serialize() for users without passwords do not implement __serialize() for users without passwords Nov 19, 2025
@xabbuh xabbuh merged commit d3e8169 into symfony:1.x Nov 19, 2025
7 checks passed
@xabbuh xabbuh deleted the ci-fix branch November 19, 2025 09:16
@nxtpge nxtpge mentioned this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants