mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-25 10:21:36 -04:00
- Replaced deprecated strftime() with IntlDateFormatter - Added proper handling for edge cases: - Strings with '%' not in date format (e.g., 'Discount: 50%') - Invalid date formats (e.g., '%-%-%', '%Y-%q-%bad') - Very long strings - Added comprehensive unit tests for Token_lib - All date format specifiers now mapped to IntlDateFormatter patterns
12 lines
440 B
XML
12 lines
440 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
|
bootstrap="../../vendor/autoload.php"
|
|
colors="true"
|
|
cacheDirectory="../../.phpunit.cache">
|
|
<testsuites>
|
|
<testsuite name="Libraries">
|
|
<directory suffix="Test.php">.</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit> |