Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DI][5.0] Fix suspicious test #31945

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

Merged
merged 1 commit into from
Jun 8, 2019
Merged

[DI][5.0] Fix suspicious test #31945

merged 1 commit into from
Jun 8, 2019

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Jun 7, 2019

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

Cleanup of #31944 for 5.0

/**
* @group legacy
*/
public function testConfigurationWithoutRootNode(): void
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this cannot happen anymore with Config 5.0, in the #31678 the deps are updated .. as such i assumed we dont need this test anymore.

/**
* @author Roland Franssen <[email protected]>
*/
class TreeWithoutRootNodeException extends \RuntimeException
Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe we forgot to mark this @internal in 4.x ... 😅

Copy link
Member

Choose a reason for hiding this comment

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

let's add it #31944 :)

@nicolas-grekas nicolas-grekas added this to the 5.0 milestone Jun 7, 2019
@nicolas-grekas
Copy link
Member

Thank you @ro0NL.

@nicolas-grekas nicolas-grekas merged commit 98c25dd into symfony:master Jun 8, 2019
nicolas-grekas added a commit that referenced this pull request Jun 8, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[DI][5.0] Fix suspicious test

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Cleanup of #31944 for 5.0

Commits
-------

98c25dd [DI][5.0] Fix suspicious test
@ro0NL ro0NL deleted the di-tests-50 branch June 8, 2019 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants