Added replace closing php tag
Added replace closing php tag for inline php dashboard widget

* origin/pr/11420:
  Added replace closing php tag