Eliminate coder warnings: Normal warnings

mustafau - June 22, 2008 - 16:39
Project:Ubercart Turkish Banks Gateway
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:drupalhizmetleri
Status:closed
Description

This patch is the first iteration through eliminating normal warnings. Please change status to "code needs work" after applying the patch. I will provide follow up patches.

Eliminating all (critical, normal and minor) coder warnings is important since I (and other developers) cannot start working on patches for a project for which coder gives warnings.

Additionally character encoding of files are not UTF-8. That's the reason Eclipse is trying to patch those Turkish strings.

AttachmentSize
turkish_banks_normal_warnings.patch11.66 KB

#1

drupalhizmetleri - June 22, 2008 - 18:51
Assigned to:Anonymous» drupalhizmetleri
Status:needs review» needs work

your patch is applied to development snapshot

#2

mustafau - June 22, 2008 - 20:07
Status:needs work» needs review

Another iteration on code beautification.

AttachmentSize
turkish_banks_code_beautification.patch 21.02 KB

#3

drupalhizmetleri - June 22, 2008 - 20:41

I have commited the uc_turkish_banks.module file with version 1.6. I also review the code and i think that all buautification has been done. Thanks a lot.

#4

mustafau - June 22, 2008 - 21:09

I believe there is always room for improvement. What do you think about attached patch?

Once this is in I will work on encapsulating strings with t() function and better XML generation.

AttachmentSize
turkish_banks_code_beautification_continued.patch 12.38 KB

#5

drupalhizmetleri - June 27, 2008 - 11:59

Oh I see. Of course, there is too many things to do with this module. But according to the coder there was no more warnings.
I think one more job is to convert the Turkish wordings to English and create a translation file.

#6

drupalhizmetleri - August 12, 2008 - 18:01
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.