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

#280: workaround wrong order of optional/nullable parameters #294

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

superbiche
Copy link

Fixes #280

Copy link
Contributor

@tbreuss tbreuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@mikaelcom
Copy link
Member

@superbiche You need to update the genereted files used for tests.
The simpliest way is to:

  1. uncomment line https://github.com/WsdlToPhp/PackageGenerator/blob/develop/tests/File/AbstractFile.php#L56
  2. launch locally phpunit on tests/File/StructTest.php
  3. comment back line https://github.com/WsdlToPhp/PackageGenerator/blob/develop/tests/File/AbstractFile.php#L56
  4. commit and push the updated files

Thx

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.

Optional parameters before required ones in constructor
3 participants