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

XML output missing method tags #2965

Closed
janareddymareddy opened this issue Aug 3, 2021 · 6 comments
Closed

XML output missing method tags #2965

janareddymareddy opened this issue Aug 3, 2021 · 6 comments

Comments

@janareddymareddy
Copy link

HI,

i also using structure.xml generated by phpDocumentor in custome pages.

we planned to upgtade from old version, just installed V3.0.0 using composer and tried to generate structure.xml by passinf --template=xml.

but i noticed few tags are missing in the xml file. inside "" tag "" and "" tags are missed.

the command what i am executing is like this

phpdoc project:run -t C:\Users\jrm\AppData\Local\Temp/phpDocumentor3 -d "E:\webportal_master\webportal\WebPortal\Portal" -c "E:\webportal_master\webportal\WebPortal\Build/phpdoc.distv3.xml" --template=xml'

if i am wromg please let me know.

i am using phpdoc 3.0.0, Windows - 10 and ZendServer 2 PHP 7.3

@phpdoc-bot phpdoc-bot added this to Needs triage in phpDoc issue triage board Aug 3, 2021
@jaapio
Copy link
Member

jaapio commented Aug 6, 2021

Hi,

Could you please add an example of what you are missing in the output? I do not understand your issue.

@janareddymareddy
Copy link
Author

Hi Jaapio.

i am attaching 3 XML files generated by 3 different versions of phpDocumenter.

we are generating XML and preparing documentation by transforming the XML with custom template.

for same code base if we generate XML in V3.0 we see many methods and properties are not exists in XML

please go through the XML's, you can get an idea on this issue.

commands we are using is phpdoc project:run -t C:\Users\jrm\AppData\Local\Temp/phpDocumentor2.9 -c "E:\webportal_master\webportal\WebPortal\Build/phpdoc.distv2.9.xml" --template=xml

phpdoc project:run -t E:\webportal_master\webportal\WebPortal\Build\documentation3 -d E:\webportal_master\webportal\WebPortal\Portal -c "E:\webportal_master\webportal\WebPortal\Build/phpdoc.distv3.xml" --template=xml

structure.zip

@jaapio
Copy link
Member

jaapio commented Aug 9, 2021

Hi,

Thanks for your help, I found a typo in the xml, which caused the parent-properties to be missing in the output. It would be helpfull if you could give the attached phar a try, and return me the results :-)

Thanks in advance.
phpDocumentor.zip

@jaapio jaapio moved this from Needs triage to To Do in phpDoc issue triage board Aug 9, 2021
@jaapio jaapio self-assigned this Aug 9, 2021
@janareddymareddy
Copy link
Author

janareddymareddy commented Aug 16, 2021

Hi jaapio,

with new phar its working fine. is there any option to install same version(above given phar version) using composer. i would like to execute with phpdoc command. .

jaapio added a commit that referenced this issue Aug 20, 2021
The markers are part of the api config. No longer the project level markers.

refs #2965, #2986
@jaapio
Copy link
Member

jaapio commented Aug 20, 2021

I will try to create a release soon.

https://github.com/phpDocumentor/shim will get a new tag (3.1.1) which will contain this fix.

@jaapio jaapio closed this as completed Aug 20, 2021
phpDoc issue triage board automation moved this from To Do to Closed Aug 20, 2021
@jaapio
Copy link
Member

jaapio commented Aug 20, 2021

A new release is available now

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

No branches or pull requests

2 participants