This is in preparation for test files to have namespaces.
Tests: Use PSR-4 filenames for test classes
As of PHPUnit 9.1.0, support for test file names which do not match the class name of the test class within, is deprecated. Support is expected to be removed completely in a future PHPUnit version. Effectively, this means that PHPUnit expects PSR4 to be followed for test classes.
Tests: Add namespaces and rename TestCase
Tests: Move into Integration directory
Allows a future split out of Unit tests.
Tests: Fix invalid covers annotations
There are other @covers annotations that are either missing or a slightly different format (no leading slash, presence of parentheses) which is not covered here.
Tests: Refresh PHPUnit config to add coverage
Coverage not added to CI yet as the @covers annotations need reviewing and the tests also need reviewing.
Improve the state of the tests structure.
Tests: Use FQCN references
This is in preparation for test files to have namespaces.
Tests: Use PSR-4 filenames for test classes
As of PHPUnit 9.1.0, support for test file names which do not match the class name of the test class within, is deprecated. Support is expected to be removed completely in a future PHPUnit version. Effectively, this means that PHPUnit expects PSR4 to be followed for test classes.
Tests: Add namespaces and rename TestCase
Tests: Move into Integration directory
Allows a future split out of Unit tests.
Tests: Fix invalid covers annotations
There are other
@covers
annotations that are either missing or a slightly different format (no leading slash, presence of parentheses) which is not covered here.Tests: Refresh PHPUnit config to add coverage
Coverage not added to CI yet as the
@covers
annotations need reviewing and the tests also need reviewing.