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

The Choice element was missing in process #164

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

Vitexus
Copy link
Contributor

@Vitexus Vitexus commented Oct 14, 2023

Fix #163 - The Choice element was missing in process

Fix goetas-webservices#163 - The Choice element was missing in process
@Vitexus Vitexus changed the title Update PhpConverter.php The Choice element was missing in process Oct 14, 2023
@Vitexus
Copy link
Contributor Author

Vitexus commented Oct 14, 2023

I was not able test this patch properly. My php 8.2.7 commit the suicide:

vendor/bin/xsd2php convert xsd2php.yml doc/xsd/*.xsd
Segmentation fault

or

vitex@exiv:~/Projects/VitexSoftware/php-vitexsoftware-pohoda-connector$ vendor/bin/xsd2php convert xsd2php.yml doc/xsd/bank
bankAccount.xsd  bank.xsd         
vitex@exiv:~/Projects/VitexSoftware/php-vitexsoftware-pohoda-connector$ vendor/bin/xsd2php convert xsd2php.yml doc/xsd/bank*
Neoprávněný přístup do paměti (SIGSEGV)

The code is too hard :D

(but the php 7.4.33 work well)

@goetas
Copy link
Member

goetas commented Oct 15, 2023

If you have xdebug enabled, the seg fault is because of it most probably

@goetas goetas merged commit 09d550e into goetas-webservices:master Oct 16, 2023
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.

Uncaught TypeError issue after upgrading to 0.4.11
2 participants