PHP unit 8.2, cel builder br/input fix, doctype add, sync .user.ini

- do not sync .user.ini file in sync template
- add PHP 8.2 for test target phpunit
- cel/phfo builder update to not close br or img tags (besides input)
- psalm settings update
- add doctype to all base templates
This commit is contained in:
Clemens Schwaighofer
2022-12-27 16:56:33 +09:00
parent 6e59b63791
commit 8ef309d479
7 changed files with 12 additions and 3 deletions

View File

@@ -1014,8 +1014,12 @@ function phfo(tree)
} else if (tree.content) {
content.push(tree.content);
}
// if not input close
if (tree.tag != 'input') {
// if not input, image or br, then close
if (
tree.tag != 'input' ||
tree.tag != 'img' ||
tree.tag != 'br'
) {
content.push('</' + tree.tag + '>');
}
// combine to string