Moodle

coding style problems

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Wiki (2.x)
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

1/ use whitespace correctly around "if, else", spaces in parameter lists, etc.

2/ watch your trailing whitespace

3/ do not use closing PHP tags

4/ do not use "global $DB" in top most scripts

5/ missing GPL3 license in file headers

6/ do not use obsoleted functions such as require_js()

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: