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

Trivial tweaks #7019

Closed

Conversation

nazar-pc
Copy link
Contributor

This is preparation for landing support for compressed Phar files.
As discussed in #4263 changes that doesn't affect code logic separated for easier review.
This PR primarily includes manual edits of PhpDoc sections to conform with arguments names from PHP documentation and to make them understandable to IDE. Also some Exceptions classes changed as it is defined in PHP docs.

@facebook-github-bot
Copy link
Contributor

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D57153

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D57153

@Orvid
Copy link
Contributor

Orvid commented Apr 23, 2016

This seems to have dropped all of the summaries from the doc comments, could we not do that?

@nazar-pc
Copy link
Contributor Author

Initially I saw most functions without them, so for consistency I've also removed some. My goal was to get sane IDE support, comments are available in PHP docs anyway, but it is handy to have arguments types in source code.

Should I bring them back?

@Orvid
Copy link
Contributor

Orvid commented Apr 25, 2016

If the summaries were already there, as is the case here, keep them.

Some arguments renamed as they are in PHP docs.
`UnexpectedValueException` is used instead of `PharException` in Phar constructor as defined in PHP docs.
No code logic changes.
@nazar-pc nazar-pc force-pushed the phar-compression-trivial-tweaks branch from 9ae370d to 3992311 Compare April 25, 2016 21:37
@nazar-pc
Copy link
Contributor Author

Restored what was already present

@hhvm-bot hhvm-bot closed this in 4794b02 Apr 29, 2016
@nazar-pc nazar-pc deleted the phar-compression-trivial-tweaks branch April 29, 2016 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants