Spomky-Labs / otphp

:closed_lock_with_key: A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP)
MIT License
1.3k stars 148 forks source link

Refactor PHP codebase and update dependencies #213

Closed Spomky closed 5 months ago

Spomky commented 5 months ago

This commit includes a significant refactoring of the entire PHP codebase, consisting of readjustment in importing functions, reordering of code elements, and an upgrade of the dependencies in composer.json file. Moreover, PHPUnit test case annotations are updated to attributes and phpunit.xml configuration file is simplified. It also provides a shift toward more modern PHP coding style, making the code more readable and maintainable.

Target branch: Resolves issue #