This package uses PHPUnit 13 for its test suite. composer.json already lists:
phpunit/phpunit:^13.1
If PHPUnit is missing from a clone, install it with:
composer require --dev phpunit/phpunit:^13.1Install dependencies for this repository, then run PHPUnit from this repository root:
composer install
vendor/bin/phpunitOn Windows, use vendor\bin\phpunit.bat.
The tests create temporary files and directories under PHP's system temp directory and remove them during teardown. Read-only file permission tests are skipped on Windows because chmod-style readability and writability checks are not enforced consistently there.
PHP configuration files execute trusted PHP code when they are decoded or read. The suite covers validation, encoding, decoding, trusted PHP files returning arrays, scalar return rejection, invalid PHP source, read failures, and write failures.