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

debug:container --types: Fix bug with non-existent classes #24744

Merged
merged 1 commit into from
Oct 29, 2017

Conversation

weaverryan
Copy link
Member

Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #24639
License MIT
Doc PR n/a

I've just tested manually that this does fix the issue I described in #24639.

Oddly enough, in a "stock" Flex project, after this patch, there is one additional "type" that's reported:

Symfony\Component\PropertyAccess\PropertyAccessorInterface alias for "property_accessor"

That is a valid type... for some reason interface_exists() return false for this (??? maybe a quirk of my machine). Anyways, this is also "fixed" with this new approach.

@fabpot
Copy link
Member

fabpot commented Oct 29, 2017

Thank you @weaverryan.

@fabpot fabpot merged commit 4bb9d82 into symfony:3.3 Oct 29, 2017
fabpot added a commit that referenced this pull request Oct 29, 2017
… (weaverryan)

This PR was merged into the 3.3 branch.

Discussion
----------

debug:container --types: Fix bug with non-existent classes

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #24639
| License       | MIT
| Doc PR        | n/a

I've just tested manually that this *does* fix the issue I described in #24639.

Oddly enough, in a "stock" Flex project, after this patch, there is one *additional* "type" that's reported:

> Symfony\Component\PropertyAccess\PropertyAccessorInterface   alias for "property_accessor"

That is a valid type... for some reason `interface_exists()` return false for this (??? maybe a quirk of my machine). Anyways, this is also "fixed" with this new approach.

Commits
-------

4bb9d82 Fixing a bug where non-existent classes would cause issues
@weaverryan weaverryan deleted the debug-autowire-fix branch October 30, 2017 10:41
This was referenced Oct 30, 2017
@fabpot fabpot mentioned this pull request Nov 10, 2017
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