#61 ✓resolved
Andrew Ho

Clean up spacing in code

Reported by Andrew Ho | January 21st, 2010 @ 10:58 PM

Effect "invisible" changes as a step towards making our existing code conform to the coding standards. The only characters that should change should be ones such as spaces, tabs, newlines.

Comments and changes to this ticket

  • Andrew Ho

    Andrew Ho February 13th, 2010 @ 02:02 PM

    • State changed from “new” to “open”
  • Kenrick Turner

    Kenrick Turner February 16th, 2010 @ 04:21 PM

    • State changed from “open” to “resolved”

    (from [5214e700161cec04b6ddfed08466af7510a81441]) Re-indented PHP code to conform with our coding standards [#61 state:resolved]

    The only characters that should have changed in this commit are tabs, spaces and
    newlines (git diff -w is my friend). Here's a more comprehensive list of
    what's been done.

    • Ensured whitespace at the beginning of lines is appropriate for that scope
    • Corrected all indentation to use tabs, not spaces
    • Made sure control structures and array declarations conform to coding standards on the wiki
    • Removed extraneous empty lines and added a few in to space code
    • Made sure all files end in a newline
    • Checked that all files used LF as their line ending (they did)

    Note that I haven't touched any of the views, as they're more HTML than PHP so
    it's difficult to interpret the coding standards in this context.
    http://github.com/kenners/uamuzi-bora/commit/5214e700161cec04b6ddfe...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A basic HIV Electronic Medical Record (EMR) system using CakePHP.

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages