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

Return the class name without the namespace if in the same namespace #1259

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Katenkka
Copy link

@Katenkka Katenkka commented Sep 30, 2021

Summary

When className is in the same namespace as the class which PHP doc is being generated for, return the className without the namespace.
Full class name is still being written if it's write to the external file, or if it's in a global namespace, or if FQCN is forced.

Type of change

  • Misc. change (internal, infrastructure, maintenance, etc.)

Checklist

  • Existing tests have been adapted and/or new tests have been added
  • Add a CHANGELOG.md entry
  • Update the README.md
  • Code style has been fixed via composer fix-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant