Changeset [5214e700161cec04b6ddfed08466af7510a81441] by Andrew Ho

February 16th, 2010 @ 04:07 PM

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...

Committed by Andrew Ho

  • M www/app/app_controller.php
  • M www/app/app_model.php
  • M www/app/config/routes.php
  • M www/app/controllers/exports_controller.php
  • M www/app/controllers/groups_controller.php
  • M www/app/controllers/jambo_controller.php
  • M www/app/controllers/medical_informations_controller.php
  • M www/app/controllers/patients_controller.php
  • M www/app/controllers/result_lookups_controller.php
  • M www/app/controllers/results_controller.php
  • M www/app/controllers/tests_controller.php
  • M www/app/controllers/users_controller.php
  • M www/app/error.php
  • M www/app/models/archive_medical_information.php
  • M www/app/models/archive_patient.php
  • M www/app/models/archive_result.php
  • M www/app/models/art_indication.php
  • M www/app/models/art_service_type.php
  • M www/app/models/education.php
  • M www/app/models/funding.php
  • M www/app/models/group.php
  • M www/app/models/inactive_reason.php
  • M www/app/models/location.php
  • M www/app/models/marital_status.php
  • M www/app/models/medical_information.php
  • M www/app/models/occupation.php
  • M www/app/models/patient.php
  • M www/app/models/patient_source.php
  • M www/app/models/regimen.php
  • M www/app/models/result.php
  • M www/app/models/result_lookup.php
  • M www/app/models/test.php
  • M www/app/models/user.php
  • M www/app/models/vf_testing_site.php
  • M www/app/views/elements/prettyStatus.ctp
  • M www/app/views/elements/prettyUPN.ctp
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