bmbrands/theme_bootstrap — pull request #271 by wezley98 (2014-05-19 13:47:48+00:00)
Title: clean renderers with moodle code checker

Result after clean up, only 2 errors left. Not sure if they are false positives though.

theme/bootstrap/renderers/maintenance_renderer.php
theme/bootstrap/renderers/course_management.php
theme/bootstrap/renderers/core_renderer.php
theme/bootstrap/renderers/files_renderer.php - 2 error(s) and 0 warning(s)
theme/bootstrap/renderers/admin_renderer.php
theme/bootstrap/renderers/enrol_renderer.php
theme/bootstrap/renderers/course_renderer.php
theme/bootstrap/renderers/course_format_renderer.php
theme/bootstrap/renderers/block_settings_renderer.php

Total: 2 error(s) and 0 warning(s)
theme/bootstrap/renderers/files_renderer.php
#383: ············if·(preg_match('/^fm_js_template_(.*)$/',·$methodname,·$matches))
Inline control structures are not allowed
#907: ············if·(preg_match('/^fp_js_template_(.*)$/',·$methodname,·$matches))
Inline control structures are not allowed