Commit Graph

13 Commits

Author SHA1 Message Date
eli
99fd2f725b [Core][Util] Hotfix: In App\Core\DB\DB persistWithSameId, casting the id to an int. In App\Util\HTML html, tag is now evaluated beforehand, making sure it's a string. 2021-10-27 04:19:30 +01:00
9109c61af5 [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00
8fe8687c5b [UTIL][HTML] Move to a unified array 2021-09-20 13:28:18 +01:00
51c7e10483 [UTIL][HTML] Allow specifying options: [raw => bool], whether to escape the provided inner HTML or not. Use with care 2021-09-20 13:27:21 +01:00
b177cb69e7 [HTML][SECURITY] Harden implmentation of HTML generation 2021-09-18 05:12:08 +01:00
4e30e5aad9 [TOOLS] Fix all issues found by PHPStan level 2 2021-09-14 13:13:44 +01:00
a49ee453ab [TESTS] Raise App\Util\HTML test coverage to 100% 2021-09-14 13:12:58 +01:00
8b5bd40421 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup 2021-09-14 13:10:23 +01:00
460712e15e [GIT] Change my email to the new one in all files and bump copyright year 2021-09-14 13:06:56 +01:00
Hugo Sales
dd559402cd [CORE][UTIL] Moved classes from util to core
And splitted up Common
2021-09-14 13:05:25 +01:00
Hugo Sales
f628665589 [FORMATTING] Cherry-pick of Diogo's 763ac735c0758624ebd5957993dc0676b865927a 2021-09-14 13:05:24 +01:00
Diogo Cordeiro
cb7518a750 [DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration 2021-09-14 13:05:24 +01:00
Hugo Sales
a7cc7f4e27 [UTIL] Wrote HTML library to convert arrays to html 2021-09-14 13:04:39 +01:00