Repository navigation
Maintenance release: the package now has continuous integration, and a
release workflow, for the first time.
- The test suite was written against the PHPUnit 4/5 API
(PHPUnit_Framework_TestCase,setExpectedException()), which PHPUnit 6
removed, so it could not run on any supported PHP at all. It now runs on
PHP 5.6 through 8.5: 20 tests, 38 assertions (12 skipped without MySQL/PostgreSQL servers). - ADD:
phpunit/phpunitandyoast/phpunit-polyfillstorequire-dev.
The package had no test runner declared at all, socomposer install
produced nothing to run the tests with. - ADD: a Continuous Integration workflow, and a Release workflow calling the
sharedauraphp/binworkflow. - FIX: connection settings moved from
<php><var>inphpunit.xml.dist,
removed in PHPUnit 10, into thephpunit.phpbootstrap, where they can
also be overridden from the environment. - FIX: an unreachable MySQL or PostgreSQL server now skips its tests
instead of erroring. A loaded extension does not imply a running server. - FIX:
Column::__set_state()export test tolerates the leading backslash
that PHP 8.2 added tovar_export()output for class names. - The suite runs on PHP 5.6 through 8.5, via
yoast/phpunit-polyfills, which lets one set of tests run on
PHPUnit 5.7 through 11. Tests useset_up()rather thansetUp(): void,
because thevoidreturn type is a parse error before PHP 7.1. phpunit.xml.distis deliberately minimal, so that a single config file is
valid for every PHPUnit version in that range.
No library code changed. require.php is unchanged, so nothing changes for
consumers of this package.