Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6896

Name "numeric" that is reserved for future use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3
    • 3.2
    • Module: Questionnaire
    • None

      From Github issue #75:

      While running https://github.com/sstalle/php7cc - spotted this:

      {{File: mod/questionnaire/classes/question/numeric.php > Line 28: Name "numeric" that is reserved for future use (does not cause an error in PHP 7) used as a class, interface or trait name class numeric extends \mod_questionnaire\question\base { } }}

      As the error says, it won't cause an error, but if you want to future proof your code, you will need to rename the class. Cheers!

            mchurch Mike Churchward
            mchurch Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.