Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for Symfony 8#1125

Merged
dantleech merged 1 commit intophpbench:masterphpbench/phpbench:masterfrom
Kocal:symfony-8Kocal/phpbench:symfony-8Copy head branch name to clipboard
Nov 5, 2025
Merged

Add support for Symfony 8#1125
dantleech merged 1 commit intophpbench:masterphpbench/phpbench:masterfrom
Kocal:symfony-8Kocal/phpbench:symfony-8Copy head branch name to clipboard

Conversation

@Kocal
Copy link
Copy Markdown
Contributor

@Kocal Kocal commented Nov 4, 2025

No description provided.

Comment thread .github/workflows/ci.yaml Outdated
if: matrix.composer-minimum-stability
run: composer config minimum-stability ${{ matrix.composer-minimum-stability }}

- name: Install Symfony Flex
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why Symfony Flex?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Symfony Flex allows to install a specific version of Symfony, see https://symfony.com/doc/current/bundles/best_practices.html#require-a-specific-symfony-version

Copy link
Copy Markdown
Member

@dantleech dantleech Nov 4, 2025

Choose a reason for hiding this comment

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

if we're setting the minimum stability to dev wouldn't it already pull in SF 8?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hum indeed, I can remove these steps, but it means that PHPBench tests will always run on Symfony 6.1 (lowest) or Symfony 8 (highest)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated, let's run the CI? :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

running 🙂

Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/ci.yaml Outdated
@dantleech
Copy link
Copy Markdown
Member

sorry, it failed due to a failing service which I've removed, could you rebase?

@Kocal
Copy link
Copy Markdown
Contributor Author

Kocal commented Nov 5, 2025

Sure! The PR has been rebased

@dantleech dantleech merged commit 66105e0 into phpbench:master Nov 5, 2025
12 checks passed
@dantleech
Copy link
Copy Markdown
Member

...although that was premature, looks like it did not install symfony 8

@Kocal
Copy link
Copy Markdown
Contributor Author

Kocal commented Nov 5, 2025

Hum yes, that's because of friendsofphp/php-cs-fixer dependency, I will change it to the shim version (it won't conflict with the dependencies graph)

@Kocal Kocal deleted the symfony-8 branch November 5, 2025 22:26
Kocal added a commit to Kocal/phpbench that referenced this pull request Nov 5, 2025
Kocal added a commit to Kocal/phpbench that referenced this pull request Nov 6, 2025
dantleech pushed a commit that referenced this pull request Nov 6, 2025
* Use php-cs-fixer/shim instead

Follows #1125

* Use Symfony Flex to fix Symfony versions

* Call Application::addCommand() if exist
maks-rafalko pushed a commit to infection/infection that referenced this pull request Nov 27, 2025
This PR increase version constraints on `symfony/*` packages to allow
Symfony 8, which will be released this month.

**EDIT:** opened phpbench/phpbench#1125
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.