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

Warn about deprecated @expectedExceptionXXX phpunit annotations

XMLWordPrintable

    • MOODLE_310_STABLE

      Starting with PHPUnit 8.5, the @expectedExceptionXXX annotations are deprecated and, instead the ->expectExceptionXXX() methods should be used, exactly before the line that is going to throw the exception.

      This issue is about to enable moodlecheck (or, if easier, codechecker) to be aware of this deprecation, starting to warn about it. Ideally, only for 310 and up, if that's possible.

            moodle.com Moodle HQ
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            1 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.