Hugo Sales
add8f4a52f
[TOOLS] Fix all errors found by PHPStan level 1
2021-09-14 13:13:42 +01:00
Hugo Sales
7a2574eafb
[CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file
2021-09-14 13:13:15 +01:00
Diogo Peralta Cordeiro
27fb2da1d0
[DOCS][Dev] Add Internationalisation
2021-09-14 13:13:11 +01:00
Hugo Sales
8b5bd40421
[TESTS] Add tests to all relevant methods under App\Util and fix errors that popup
2021-09-14 13:10:23 +01:00
Hugo Sales
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
e8feb2ae84
[DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup
2021-09-14 13:06:55 +01:00
Hugo Sales
e482ecfb87
[I18N] Remove support for context until it proves necessary, as it broke the code
2021-09-14 13:05:39 +01:00
Hugo Sales
fffa17448f
[CORE][I18n][DEFAULTS] Remove I18nHelper
2021-09-14 13:05:38 +01:00
Hugo Sales
f28ff24f2a
[I18N] Small fixes. Still broken, though :')
2021-09-14 13:05:28 +01:00
Hugo Sales
10ca51e72a
[I18N] Overhaul _m() implementation to support ICU message formats
2021-09-14 13:05:27 +01:00
Hugo Sales
f283613443
[I18N] Refactor since rfc/use-static-function is not implemented
...
As the above mentioned RFC is not implemented, `_m` needs to be
outside of the I18n class, otherwise it would have to always be called
with `I18n::_m`.
2021-09-14 13:05:27 +01:00