Skip to content

Conversation

@Kocal
Copy link
Member

@Kocal Kocal commented Aug 5, 2025

IIRC the CI was already broken before this PR

@Kocal Kocal force-pushed the symfony-8-support branch from 2f9393d to d6646c1 Compare August 5, 2025 20:18
@Kocal
Copy link
Member Author

Kocal commented Nov 17, 2025

The CI was already red before this PR btw

@dunglas
Copy link
Member

dunglas commented Nov 21, 2025

@Kocal, I added Symfony 8 compatibility in #682, but that would be great to merge your PR when it is green.

I don't know exactly why @xabbuh downgraded PHPUnit.

@Kocal Kocal force-pushed the symfony-8-support branch from b00e50c to 9ef85eb Compare November 22, 2025 08:52
@Kocal
Copy link
Member Author

Kocal commented Nov 22, 2025

@dunglas PR rebased, I also fixed Client::doRequest() types.
PHPStan is still failing there, but I'm not sure about what to do

@Kocal Kocal force-pushed the symfony-8-support branch 5 times, most recently from d488b41 to 6a05d18 Compare November 27, 2025 09:50
@Kocal
Copy link
Member Author

Kocal commented Nov 27, 2025

Everything is green 🙌🏻

@Kocal Kocal force-pushed the symfony-8-support branch from 6a05d18 to cc37227 Compare November 27, 2025 10:27
@Kocal Kocal force-pushed the symfony-8-support branch from cc37227 to db5316b Compare November 27, 2025 11:14
@Kocal Kocal changed the title Add support for Symfony 8 Symfony 8 support follow-up, PHPUnit 11 Nov 27, 2025
@Kocal Kocal force-pushed the symfony-8-support branch from db5316b to b3470ca Compare November 27, 2025 13:28
phpstan.neon Outdated
- '#Return type \(void\) of method Symfony\\Component\\Panther\\DomCrawler\\Crawler::clear\(\) should be compatible with return type \(Facebook\\WebDriver\\WebDriverElement\) of method Facebook\\WebDriver\\WebDriverElement::clear\(\)#'
- '#Return type \(ArrayIterator<int, Facebook\\WebDriver\\WebDriverElement>\) of method Symfony\\Component\\Panther\\DomCrawler\\Crawler::getIterator\(\) should be compatible with return type \(ArrayIterator<int, DOMNode>\) of method Symfony\\Component\\DomCrawler\\Crawler::getIterator\(\)#'
# PHPStan runs with lowest dependencies
- '#Attribute class PHPUnit\\Framework\\Attributes\\DataProvider does not exist\.#'
Copy link
Member

Choose a reason for hiding this comment

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

Actually, we could bump the PHPUnit version in the PHPStan job. We usually run PHPStan only with the latest dependencies.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's go for it

Copy link
Member Author

Choose a reason for hiding this comment

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

Kocal added a commit to symfony/ux that referenced this pull request Nov 29, 2025
This PR was merged into the 2.x branch.

Discussion
----------

 Tests on Symfony 8 stable

| Q              | A
| -------------- | ---
| Bug fix?       | no
| New feature?   | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations?  | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Documentation? | no <!-- required for new features, or documentation updates -->
| Issues         | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License        | MIT

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - For new features, provide some code snippets to help understand usage.
 - Features and deprecations must be submitted against branch main.
 - Update/add documentation as required (we can help!)
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

The following jobs are still impossible to make them green for the following reasons:
- Functional Tests / turbo-tests (8.4, stable): waiting for symfony/panther#678
- Functional Tests / turbo-tests (8.5, stable): sam as above
- Functional Tests / turbo-tests (dev, 8.5): same as above
- Unit Tests / php (8.4, 8.0.*) : waiting for some `zenstruck/*` packages to be compatible with Symfony 8, and `spatie/phpunit-snapshot-assertions` (but couldn't be installed unless we require PHPUnit 10)
- Unit Tests / php (8.5, 8.0.*) : same as above

Commits
-------

724429c Tests on Symfony 8 stable
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