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

Coding style: not escaping functions in namespaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • Coding style
    • None

    Description

      I see quite a lot of places in code where we escape function calls:

      \get_classed_class();
      

      Even if we are in a namespace, functions do not need to be escaped and should not need to be.

      This is particulary annoying with using `sgrep`: https://github.com/facebook/pfff/issues/80
      But also to distinguish functions from classes.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              fred Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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