Skip to content

[VarDumper] Use ClassStub for reflected types #19987

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
Sep 21, 2016

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Sep 20, 2016

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

The implementation ensures that type hints do not trigger autoloading by ClassStub itself.

@jakzal
Copy link
Contributor

jakzal commented Sep 20, 2016

It doesn't seem to fix the SecurityBundle tests (should it?).

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Sep 20, 2016

@jakzal this is because of per-component tests: the patch here is not used on the SecurityBundle test suite because SecurityBundle is untouched by the PR. This a corner case. But as far as I tested correctly on my machine, it will make tests green yes.

@nicolas-grekas
Copy link
Member Author

Oh, and the PR that should fix tests is #19986, not this one :)

@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit e2b2c9b into symfony:master Sep 21, 2016
fabpot added a commit that referenced this pull request Sep 21, 2016
…-grekas)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[VarDumper] Use ClassStub for reflected types

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

The implementation ensures that type hints do not trigger autoloading by `ClassStub` itself.

Commits
-------

e2b2c9b [VarDumper] Use ClassStub for reflected types
@nicolas-grekas nicolas-grekas deleted the dump-fix branch September 29, 2016 10:06
@fabpot fabpot mentioned this pull request Oct 27, 2016
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.

4 participants