aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/data/templates
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@gmail.com>2015-03-22 20:06:28 -0700
committerKunal Mehta <legoktm@gmail.com>2015-03-22 20:31:59 -0700
commit2f88829e1bc914e859be9ef270b3d657ee6a787b (patch)
tree8de651408876402e0482f1524d68b665cd3ae2ac /tests/phpunit/data/templates
parentcfcaa33fcc424cd85444d71f10f6ce7cc2fb1e58 (diff)
downloadmediawikicore-2f88829e1bc914e859be9ef270b3d657ee6a787b.tar.gz
mediawikicore-2f88829e1bc914e859be9ef270b3d657ee6a787b.zip
TemplateParser: make most functions protected, only expose processTemplate()
All of the other functions expose internal implementation details, which no external caller should ever need. In fact, no external caller does use these functions directly. The TemplateParser::compile() tests were removed as they're simply just checking LightnCandy functionality, which is something the library should be doing. Change-Id: If9003d40315e0e5aa361c174b764b799e3b88c34
Diffstat (limited to 'tests/phpunit/data/templates')
-rw-r--r--tests/phpunit/data/templates/foobar_args.mustache1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/data/templates/foobar_args.mustache b/tests/phpunit/data/templates/foobar_args.mustache
new file mode 100644
index 000000000000..cfbe3d0f7eb8
--- /dev/null
+++ b/tests/phpunit/data/templates/foobar_args.mustache
@@ -0,0 +1 @@
+hello {{planet}}!