Eloy Lafuente (stronk7)
29a541724f
MDL-65292 style: Fix all the function declaration ordering
...
This has been generated running the following Sniff,
part of the Moodle's CodeSniffer standard:
- PSR2.Methods.MethodDeclaration
It just ensures all the function declarations have
the correct order for:
- abstract and final.
- visibility (public, protected, private).
- static.
So, all the lines modified by this commit are function declarations
and the only changes are in the positions of those keywords.
2024-02-28 23:47:47 +01:00
Tim Hunt
0336443db6
MDL-80127 question engine: prevent fatal errors from old bad data
2023-11-15 16:34:35 +00:00
Tim Hunt
824d1f8f52
MDL-66754 question engine: fix lots of PHPdoc errors
...
This fixes essentially all the things PHPstorm was warning about in
question/engine/datalib.php and question/engine/questionusage.php.
2019-09-24 10:25:29 +01:00
Tim Hunt
05038fcba0
MDL-34065 questions: also fix two typos in comments.
...
Amended to change 2 accordin => according
2012-07-05 13:49:05 +02:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
88f0eb1546
MDL-20636 Reveiw all throw statements.
2011-02-23 16:50:09 +00:00
Tim Hunt
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
017bc1d9f3
MDL-20636 Fix @package names in question/behaviour, question/engine and question top level.
2011-02-22 20:50:18 +00:00
Tim Hunt
f86390dc94
MDL-20636 Bug 11396 better handle manually graded questions that are graded out of 0.
...
The key point is that 0 * Ungraded should equal 0, rather than Ungraded.
2011-01-27 17:43:50 +00:00
Tim Hunt
d1b7e03d5d
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
2011-01-13 18:35:29 +00:00