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

Correct callmap entries for XMLWriter #6099

Merged
merged 5 commits into from
Jul 17, 2021
Merged

Conversation

aboks
Copy link
Contributor

@aboks aboks commented Jul 15, 2021

Checked and fixed the following, based on the current documentation in the PHP manual:

  • capitalization in method names
  • parameter names
  • parameter types (especially for nullable params)
  • return types (especially for ...|false-types)
  • differences between pre- and post-8.0.0-signatures

Fixes #6091

dictionaries/CallMap.php Show resolved Hide resolved
dictionaries/CallMap.php Show resolved Hide resolved
aboks added a commit to aboks/psalm that referenced this pull request Jul 16, 2021
aboks added a commit to aboks/psalm that referenced this pull request Jul 17, 2021
Checked and fixed the following, based on the current
documentation in the PHP manual:

* capitalization in method names
* parameter names
* parameter types (especially for nullable params)
* return types (especially for '|false'-types)
* differences between pre- and post-8.0.0-signatures

Fixes vimeo#6091
* `writeDtdEntity()`/`xmlwriter_write_dtd_entity()` has optional params
* `xmlwriter_write_attribute_ns` has `$namespace` param as nullable, not
`$content`
* `xmlwriter_write_element()`/`xmlwriter_write_element_ns()` has
`$content` param as optional
@weirdan
Copy link
Collaborator

weirdan commented Jul 17, 2021

@aboks I've rebased the PR and added a few fixes

@weirdan weirdan merged commit 381ea8d into vimeo:master Jul 17, 2021
@weirdan
Copy link
Collaborator

weirdan commented Jul 17, 2021

Thanks!

@aboks
Copy link
Contributor Author

aboks commented Jul 18, 2021

Great, thank you!

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.

Incorrect signature/stub used for XMLWriter::startElementNs
2 participants