Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPUnit 7 #3009

Merged
merged 1 commit into from
Mar 1, 2018
Merged

PHPUnit 7 #3009

merged 1 commit into from
Mar 1, 2018

Conversation

carusogabriel
Copy link
Contributor

@carusogabriel carusogabriel commented Feb 2, 2018

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 2, 2018

@carusogabriel carusogabriel changed the title [WIP] PHPUnit 7 PHPUnit 7 Feb 11, 2018
@carusogabriel carusogabriel changed the title PHPUnit 7 [WIP] PHPUnit 7 Feb 11, 2018
@Majkl578
Copy link
Contributor

Blocking issues/PRs were closed/merged, anything else blocking now?

@carusogabriel
Copy link
Contributor Author

@Majkl578 As mentioned in symfony/symfony#26139, Symfony still not compatible with PHPUnit 7. I have already used dev-master to test, but nothing for the moment. I'll rerun tests, but if continuous to fail, I'll close it and wait for them.

@morozov
Copy link
Member

morozov commented Feb 16, 2018

Can we just bump PHPUnit requirements on our end and update the bridge later? I see that we run PHPUnit directly and also have a dependency on it directly. What's the point of using the bridge?

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 16, 2018

What's the point of using the bridge?

Depecation notices + their testing I suppose, added in #2846.

@morozov
Copy link
Member

morozov commented Feb 16, 2018

Symfony still not compatible with PHPUnit 7.

In the bridge, I can't see any dependency on Symfony. Why is it an argument for not making the bridge compatible with PHPUnit 7 first?

@Majkl578
Copy link
Contributor

Well, the bridge itself is part of Symfony so I guess it meant Symfony is not compatible, therefore the bridge is not compatible either.

@morozov
Copy link
Member

morozov commented Feb 16, 2018

When You Marry ‘The One,’ You Also Marry The Family… eh.

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 16, 2018

Okay, I pushed a fix to the suite & bumped requirement directly into @carusogabriel's branch (this PR). For now it depends on the bridge ^4.0.5@dev until Symfony releases stable version with proper PHPUnit 7 support.

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 16, 2018

Build is green except the lowest deps, those will be fixed once stable version is released and @dev dropped. 😊

@carusogabriel
Copy link
Contributor Author

@Majkl578 Oh thanks, I was banging my head against version 3.x, while the solution was in 4.x 🎉

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 16, 2018

The fixes were merged into 3.4 and up so ^3.4.5|^4.0.5 would probably work too, but why keep it legacy for no reason, right? 😉

composer.json Outdated
"phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5",
"symfony/console": "^2.0.5||^3.0",
"symfony/phpunit-bridge": "^3.3"
"symfony/phpunit-bridge": "^4.0.5@dev"
Copy link
Member

Choose a reason for hiding this comment

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

Can't 🚢 until this is an @dev

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, waiting for Symfony to release, will drop @dev after that.

@Majkl578
Copy link
Contributor

Majkl578 commented Mar 1, 2018

Updated with the ^3.4.5|^4.0.5 constraint. Ready to land.

@carusogabriel carusogabriel changed the title [WIP] PHPUnit 7 PHPUnit 7 Mar 1, 2018
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

🚢

@Ocramius Ocramius added this to the 2.7.0 milestone Mar 1, 2018
@Ocramius Ocramius merged commit 3bfaa82 into doctrine:master Mar 1, 2018
@carusogabriel carusogabriel deleted the patch-1 branch March 1, 2018 23:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants