Skip to content

Test on PHP 8.5#502

Open
garak wants to merge 1 commit intoKnpLabs:masterfrom
garak:test85
Open

Test on PHP 8.5#502
garak wants to merge 1 commit intoKnpLabs:masterfrom
garak:test85

Conversation

@garak
Copy link
Collaborator

@garak garak commented Feb 10, 2026

No description provided.

@garak garak requested a review from stof February 10, 2026 08:23
@garak
Copy link
Collaborator Author

garak commented Feb 10, 2026

The failure on CS is fixed in another PR #503

symfony: ^8.0
- description: 'Dev deps'
php: '8.5'
symfony: ^8.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

the job with dev deps should not specify an override of the symfony version range.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So it's going to take 8.1 anyway just because it's the latest dev, right?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes.
But it will take a newer dev version once available and compatible with our requirements, without the need to remember to update the CI config. Anytime we override the symfony requirement in the CI job, the composer.json is not the single source of truth anymore. This is why we override it only for jobs dedicated at testing compat with Symfony LTS versions (which is the explicit goal of those jobs, and requires maintenance only every 2 years)

dev: true
- description: 'Dev deps'
symfony: ^7.4
- description: 'Symfony 8'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would remove this job. We need jobs for specific Symfony versions only for the LTS versions

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But 7.4 is an LTS version, isn't it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

my comment is on the line defining a Symfony 8 job, not on the line defining a job for 7.4

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.

2 participants