Skip to content

Commit

Permalink
- Decided not to implement the refactoring of parseHeader().
Browse files Browse the repository at this point in the history
  • Loading branch information
as:ez.no committed Sep 3, 2009
1 parent fbb2c6a commit 46ee3f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion review-1.7.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
ezcMailPartParser
=================

[ ] The function parseHeader() should be refactored. The new code has in
[x] The function parseHeader() should be refactored. The new code has in
the if() and elseif() case duplicated code that can easily be extracted
into a new private method.

The code is too coupled and the private function will have 4-5 params.
It applies to only 4 lines of code. The solution which I tried actually
looks worse than what it is now.

[x] The test in trunk/Mail/tests/composer_test.php should removed the
added check for "charset=binary" as that is a bug in PHP (line 647ish)

Expand Down

0 comments on commit 46ee3f4

Please sign in to comment.