summaryrefslogtreecommitdiffstats
path: root/tests/lib/TemplateFunctionsTest.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Correctly add `module` content type to script tags when scripts with ↵Ferdinand Thiessen2023-07-231-0/+12
| | | | | | versions are used Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(OC/Template): Add `type="module"` for ES6 scriptsFerdinand Thiessen2023-02-221-0/+29
| | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-071-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix lib/Joas Schilling2016-05-191-0/+252