-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.11.5, 4.0, 4.1
-
None
-
MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
While this is not a current problem (everything works ok), as reported @ MDL-73586:
FILE: /mod/lesson/classes/local/numeric/helper.php
|
------------------------------------------------------------------------------------------------------------------------------------
|
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
|
------------------------------------------------------------------------------------------------------------------------------------
|
26 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or
|
| | trait or as part of a namespace (T_NAMESPACE)
|
------------------------------------------------------------------------------------------------------------------------------------
|
So, maybe and to be future-proof... we should consider changing that "numeric" namespace to something else not being a (soft, for now) reserved keyword.
Ciao