Adopt PSR-2 for our PHP code format
Bug #1576074 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Currently Mahara has its own idiosyncratic code formatting guidelines: https:/
It would make things easier for new devs, and improve tool support, if we switched to the industry standard PSR-2: http://
It would also be good to decide on a Javascript coding standard.
Changed in mahara: | |
milestone: | 16.10.0 → 16.10.1 |
Changed in mahara: | |
milestone: | 16.10.1 → 17.04.0 |
Changed in mahara: | |
milestone: | 17.04.0 → 17.10.0 |
Changed in mahara: | |
milestone: | 17.10.0 → 18.04.0 |
Changed in mahara: | |
milestone: | 18.04.0 → none |
To post a comment you must log in.
Discussed at developer meeting 52: https:/ /wiki.mahara. org/wiki/ Developer_ Area/Developer_ Meetings/ 52
Developer consensus was to do it. We should do an initial big autoformat commit, and add an autoformatter to the Makefile. We should also check to see whether this will have a big impact on backporting.