Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-7065

PHPcs complains about methods prefixed with a double underscore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Integration
    • None

      CI is making a false positive complain about the methods prefixed with a double underscore. This might have happened as a part of fixing compatibility.

      This is an example:

      https://integration.moodle.org/job/Precheck%20remote%20branch/131969/artifact/work/smurf.html#phpcs

      CI notice: (#86) method name "check_request::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore

            stronk7 Eloy Lafuente (stronk7)
            safat.shahin@moodle.com Safat Shahin
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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