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

Improve the Email library #811

Merged
merged 2 commits into from Dec 22, 2011
Merged

Improve the Email library #811

merged 2 commits into from Dec 22, 2011

Conversation

narfbg
Copy link
Contributor

@narfbg narfbg commented Dec 22, 2011

Changes include:

  • Property visibility declarations (related to "var" not needed #803)
  • Speed optimizations
  • Cleaned up unnecessary code, including a version check for PHP 4

NOTE:

I intend to do this for each of the libraries (and probably other stuff as well) separately as none of my similar pull requests that have changes to multiple classes have been accepted - I hope those make it.
With that in mind - I'll just add one line under general changes in the change log when it's all done, to avoid multiple entries with the same description and only the class name changed.


$this->newline = $newline;

$this->newline = ($newline !== "\n" AND $newline !== "\r\n" AND $newline !== "\r") ? "\n" : $newline;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would ! in_array() be better here?

@narfbg
Copy link
Contributor Author

narfbg commented Dec 22, 2011

Ok ... updated the patch.

philsturgeon pushed a commit that referenced this pull request Dec 22, 2011
@philsturgeon philsturgeon merged commit a9bc5af into bcit-ci:develop Dec 22, 2011
@philsturgeon
Copy link
Contributor

Thanks again! You're doing good work here and it is appreciated.

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