Commit graph

4 commits

Author SHA1 Message Date
Daimona Eaytoy
4637824f68 Replace unchecked MWException with SPL exceptions
Bug: T328220
Change-Id: I4e0454ce3ad3741756e2010a76e548d6c9a6bcb5
2024-01-28 22:41:46 +01:00
Thalia
a03b341aa6 Handle a negative exponent in TempUser/ScrambleMapping.php
This would happen due to an offset being configured too large so
can be fixed by changing the config.

Change-Id: Ie572a64e33322ce310bab09406db260fc27a6833
2023-12-18 12:12:32 +00:00
Tim Starling
0318d7cd43 ScrambleMappingTest: mark skipped if the extensions are not present
Otherwise the ScrambleMapping constructor throws an exception.

Change-Id: I47a947639e0968bbee4d706ec081e5f7af390f26
2022-10-21 12:26:57 +11:00
Tim Starling
a124d003cf TempUser: ScrambleMapping
Add a mapping function which converts sequential integers to a sequence
in which most of the digits change each time, but without significantly
increasing the length.

Change-Id: I1011a96894fbf0b92d20a96149e68014f53e3c3c
2022-05-16 17:36:22 +00:00