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

Add a deprecation checker for capabilities - local_codechecker

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.6
    • Local: Code checker
    • None

      Following up with MDL-37479 and MDL-55580, I am toying with the idea of integrating some checks into the moodle local_codechecker to show the capabilities we want to deprecate.

      This is at an early stage as I am not totally familiar with the PHP code Sniffer, but here is what I suggest:

      • Step 1: we list all the capabilites we want to deprecate in the class and all the function/methods we might use to check for capabilities
      • Step 2: We add the MDL-55580 features and we have a way to detect deprecated capabilities directly from core and the code sniffer will be able to find them this way.

      For now I am in the early stages of step 1.

       

            Unassigned Unassigned
            laurent.david@moodle.com Laurent David
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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