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

Translation plugin: Fix the use statement with non-compound name

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.3
    • None
    • Moderate
    • MOODLE_311_STABLE

      David Mudrak reported:

      When visiting the main page, I get:

      Warning: The use statement with non-compound name 'tool_translationmanager' has no effect in .../admin/tool/translationmanager/index.php on line 25

      The said code there reads:

      tool_translationmanager/index.php

      Line 25 in 02acb7b

      use tool_translationmanager;
      which violates the "Do not import an entire namespace with a "use" statement, import individual classes only." rule from https://docs.moodle.org/dev/Coding_style#Namespaces

      https://github.com/moodlehq/tool_translationmanager/issues/1 

            Unassigned Unassigned
            jgramp-moodle Jessica Gramp
            Votes:
            0 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.