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.
The suite covers INI validation, encoding, decoding, one-level sections, typed scalar values from INI_SCANNER_TYPED, nested array rejection, read failures, and write failures.