-
Task
-
Resolution: Fixed
-
Minor
-
3.0.1
-
MOODLE_30_STABLE
-
MOODLE_30_STABLE
-
MDL-52471-master -
- Run unit tests
- grep for 'new object'
php7cc reported that 'object' is reserved in PHP7 http://php.net/manual/en/reserved.other-reserved-words.php
File: /home/davidm/Desktop/moodlecode/int/master/lib/setuplib.php
> Line 66: Name "object" that is reserved for future use (does not cause an error in PHP 7) used as a class, interface or trait name
class object extends \stdClass
{
}
- has a non-specific relationship to
-
MDL-60411 PHP7.2 Cannot use 'object' as class name
-
- Closed
-
-
MDLSITE-3138 Coding style guide should specify to use stdClass and not object in stdClass
-
- Closed
-