URGENT: Update all unit tests to use PHPUnit 9

Issue #7 resolved
Rotimi Adegbamigbe created an issue

The package currently uses PHPUnit 4 which targets PHP 5.3-5.6 and has not been updated since 2017.

PHPUnit 9 is the current version and it supports PHP7.3+.

https://phpunit.de/supported-versions.html

The current unit tests targeted towards PHPUnit 4 are not running reliably on PHP 7.4 which is the minimum supported version of PHP at the moment.

There is no way to reliably add new features & tests to this package and run the whole test suite to ensure new changes aren’t breaking existing features.

This issue needs to be resolved ASAP and all tests need to run and pass using PHPUnit 9 before any further enhancements are made to this package.

Comments (2)

  1. Jon Elofson repo owner

    Done, but I had issues with some of the Ldap tests so I removed them for now. They are all mocks anyway and don’t really test anything.

  2. Log in to comment