-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[VarDumper] Add ClassStub for clickable & shorter PHP identifiers #19826
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
Conversation
f53a482
to
0d0b08b
Compare
0d0b08b
to
788f7e8
Compare
class ClassStub extends ConstStub | ||
{ | ||
/** | ||
* Constructor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not doing that anymore, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docbloc needs a title...
And I'd think it's worth document the arguments a bit...
Thank you @nicolas-grekas. |
…identifiers (nicolas-grekas) This PR was merged into the 3.2-dev branch. Discussion ---------- [VarDumper] Add ClassStub for clickable & shorter PHP identifiers | Q | A | ------------- | --- | Branch? | master | New feature? | yes | Tests pass? | yes | License | MIT | Doc PR | symfony/symfony-docs#6946 Tells dumpers when PHP identifiers are used so that they can shorten the namespace and create IDE links to the source.  (PR also embeds some fixes/cleanups) Commits ------- 788f7e8 [VarDumper] Add ClassStub for clickable & shorter PHP identifiers
@nicolas-grekas how can I enable the shorten feature? I always get the FQNC without |
Are you sure to be on latest master? Can you try with a different browser just in case it's a CSS support issue? When looking at the source code, can you see the |
I was on latest master, but the extracted data appeared not to. It works as expected now. |
Tells dumpers when PHP identifiers are used so that they can shorten the namespace and create IDE links to the source.
(PR also embeds some fixes/cleanups)