Commit Graph

2 Commits

Author SHA1 Message Date
Joe Williams
d2bb0d7b99 Unit Test Updates
- Removed `testHandlesEmptyTokenTree` (it was the same as `testIgnoresTextWithoutPercentSign`).
- Added tests for special characters, bad token/date formats, and basic security.
- The tests for bad date formats still fail with the updated `render` function.
2025-11-05 13:59:53 -08:00
Joe Williams
5a3f9dd707 Various code updates.
- Added alternate version of `Token_lib.render` with PHP 8.4 compatability.
- Added helper function to extract the date format from a string.
- Removed an unused parameter from `Token_lib.generate`, and made that function private.
- Added partial unit tests for `Token_lib`.
2025-10-31 10:54:53 -07:00