Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Fix missing abstract key in XmlDumper#22901

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

Merged
fabpot merged 1 commit intosymfony:2.7fromweaverryan:fix-abstract-xml-dumper
May 25, 2017

Conversation

@weaverryan
Copy link
Member

@weaverryanweaverryan commentedMay 25, 2017
edited
Loading

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone
LicenseMIT
Doc PRn/a

Unless I'm missing something, the abstract key was missing in the XmlDumper. I noticed it when usingdebug:container some_abstract_service and was seeing "no" for abstract.

When this merges to 3.3, theservices-abstract.xml will need to change to this:

<?xml version="1.0" encoding="utf-8"?><containerxmlns="http://symfony.com/schema/dic/services"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">  <services>    <serviceid="service_container"class="Symfony\Component\DependencyInjection\ContainerInterface"synthetic="true"/>    <serviceid="foo"class="Foo"abstract="true"/>    <serviceid="Psr\Container\ContainerInterface"alias="service_container"public="false"/>    <serviceid="Symfony\Component\DependencyInjection\ContainerInterface"alias="service_container"public="false"/>  </services></container>

@nicolas-grekasnicolas-grekas added this to the2.7 milestoneMay 25, 2017
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@xabbuhxabbuh left a comment

Choose a reason for hiding this comment

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

👍 (I don't like theservices<number> naming, but the change itself looks good)

@weaverryan
Copy link
MemberAuthor

@xabbuh yea, me either :). I've renamed it!

Caused mis-reporting of abstract key (always no) in debug:container
@weaverryanweaverryanforce-pushed thefix-abstract-xml-dumper branch fromad81c6e to40f60ecCompareMay 25, 2017 12:56
@fabpot
Copy link
Member

Thank you@weaverryan.

@fabpotfabpot merged commit40f60ec intosymfony:2.7May 25, 2017
fabpot added a commit that referenced this pull requestMay 25, 2017
This PR was merged into the 2.7 branch.Discussion----------Fix missing abstract key in XmlDumper| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | none| License       | MIT| Doc PR        | n/aUnless I'm missing something, the abstract key was missing in the XmlDumper. I noticed it when using `debug:container some_abstract_service` and was seeing "no" for abstract.When this merges to 3.3, the `services-abstract.xml` will need to change to this:```xml<?xml version="1.0" encoding="utf-8"?><container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/serviceshttp://symfony.com/schema/dic/services/services-1.0.xsd">  <services>    <service synthetic="true"/>    <service abstract="true"/>    <service alias="service_container" public="false"/>    <service alias="service_container" public="false"/>  </services></container>```Commits-------40f60ec Fixing missing abstract attribute in XmlDumper
This was referencedMay 29, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@weaverryan@fabpot@nicolas-grekas@xabbuh@ogizanagi

[8]ページ先頭

©2009-2025 Movatter.jp