← Back to team overview

mahara-contributors team mailing list archive

[Bug 1576074] Re: Adopt PSR-2 for our PHP code format

 

** Changed in: mahara
    Milestone: 17.04.0 => 17.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1576074

Title:
  Adopt PSR-2 for our PHP code format

Status in Mahara:
  Confirmed

Bug description:
  Currently Mahara has its own idiosyncratic code formatting guidelines:
  https://wiki.mahara.org/wiki/Developer_Area/Coding_guidelines

  It would make things easier for new devs, and improve tool support, if
  we switched to the industry standard PSR-2: http://www.php-
  fig.org/psr/psr-2/

  It would also be good to decide on a Javascript coding standard.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1576074/+subscriptions


References