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

Spelling and php doc #3

Merged
merged 2 commits into from
Dec 15, 2011
Merged

Spelling and php doc #3

merged 2 commits into from
Dec 15, 2011

Conversation

PHPGangsta
Copy link
Contributor

Hi Evert,

I used "Code inspection" of PHPStorm to find problems in the SabreDAV code. I fixed the following:

  • fixed most of PHPDoc parameters
  • Spelling mistakes
  • Removed ?> from the bottom of php files
  • Removed trailing spaces at the end of each line (my IDE did this automatically)

I don't know the your Code Style Guide and I don't know your convention regarding "space after comma" in parameter lists and so on, otherwise I would have changed that, too. The same for "if(" or "if (" etc.
So if you tell me the style that has to be used I would try to fix them.

Michael Kliewe and others added 2 commits December 15, 2011 16:48
- fixed most of PHPDoc parameters
- Spelling mistakes
- Removed ?> from the bottom of php files
- Removed trailing spaces at the end of each line (my IDE did this automatically)
@evert
Copy link
Member

evert commented Dec 15, 2011

Thanks!

Manually ran through.. had to make sure nothing else was changed :)

As for your other points.. if( should really be if (. I have no strong feelings about spaces after comma's though. Tend to add them when I feel it's beneficial for legibility, but it's not always needed.

evert added a commit that referenced this pull request Dec 15, 2011
@evert evert merged commit 0529812 into sabre-io:master Dec 15, 2011
petrkotek referenced this pull request in bigcommerce/sabre-dav Jun 3, 2014
Several small code improvements and additional checks when expecting data in certain formats
DavidPrevot pushed a commit to DavidPrevot/sabre-dav that referenced this pull request Oct 26, 2014
DavidPrevot pushed a commit to DavidPrevot/sabre-dav that referenced this pull request Oct 26, 2014
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.

None yet

2 participants