Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PhpUnitBridge] Fix some errors when using serialized deprecations#31478
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[PhpUnitBridge] Fix some errors when using serialized deprecations#31478
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
31b4188 to25da423Comparel-vo commentedMay 15, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Tests fail, I think it's because they use the PhpUnitBridge of the master branch. |
greg0ire commentedMay 25, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I reproduce the build failure locally. I'm using php 7.3, what about you? Also, I'm running the tests from the directory of the component, |
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
greg0ire commentedMay 25, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Also, tests fail when I run them in another of the supported ways (which is not used in CI): Same with simply |
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
greg0ire commentedMay 26, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@l-vo how do you run the test suite locally? This is how I proceed: EDIT: and it fails on my machine, what about you? |
l-vo commentedMay 26, 2019
@greg0ire from the repository root: |
greg0ire commentedMay 26, 2019
Please try to make both methods work. The method that I use is used in CI. You will have to run |
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
a2af18a to4149956Comparec10ace7 toe9cf4dfComparel-vo commentedJun 1, 2019
@greg0ire I think I fixed the tests. They still fail on PHP 7.3 (deps=low); it is caused by |
l-vo commentedJun 1, 2019
Status: needs review |
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
31ab004 toedfdccfComparel-vo commentedOct 24, 2019
Closed in favour of#33820 |
…ecations (l-vo)This PR was submitted for the 4.3 branch but it was squashed and merged into the 4.4 branch instead.Discussion----------[PhpUnitBridge] Fix some errors when using serialized deprecations| Q | A| ------------- | ---| Branch? | 4.3| Bug fix? | yes| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets | n/a| License | MIT| Doc PR | n/aThis PR attempts to fix conflicts that arose in#31478Creating as a draft for now as I think having separate test methods no longer make sense (`isSelf()` and `isIndirect()` have been replaced with `getType()`).@l-vo please review and confirm I did not loose anything valuable from your original contribution.Commits-------056d598 [PhpUnitBridge] Fix some errors when using serialized deprecations
Uh oh!
There was an error while loading.Please reload this page.
During the refactoring for#29211, some very minor problems seamed to appear. I created#31382 for fixing one of them but I forgot two others; sorry for that. Both problems occurs when using
@runInSeparateProcessin tests too:isSelfcondition is inverted when using runInSeparateProcessisIndirectstate of the deprecation when using runInSeparateProcess