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

Coding style: not escaping functions in namespaces

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:

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