Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73661

Review all redundant namespaces in [test|all] classes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.5, 4.0, 4.1
    • General
    • None
    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE

      Once the conversion @ MDL-71049 has been finished and all the testcases have a namespace, it's time to look for redundant uses of those namespaces within the test cases code.

      For example:

      namespace mod_xxx;
      ...
      $something = \mod_xxx\level2\yyy::do();
      $anything = new \mod_xxx\zzz();
      ...
      

      So, for a given namespace (mod_xxx), there aren't uses of it in code (\mod_xxx). Excluding literals and phpdoc blocks.

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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