Version 4.1.4
Release Date: September 6, 2021
4.1.4 release of Higgs7
This release focuses on code style. All changes (except those noted below) are cosmetic to bring the code in line with the new Higgs Coding Standard (based on PSR-12).
BREAKING
The following methods were changed from “public” to “protected” to match their parent class methods and better align with their uses:
Higgs\Database\MySQLi\Connection::execute()
Higgs\Database\MySQLi\Connection::_fieldData()
Higgs\Database\MySQLi\Connection::_indexData()
Higgs\Database\MySQLi\Connection::_foreignKeyData()
Higgs\Database\Postgre\Builder::_like_statement()
Higgs\Database\Postgre\Connection::execute()
Higgs\Database\Postgre\Connection::_fieldData()
Higgs\Database\Postgre\Connection::_indexData()
Higgs\Database\Postgre\Connection::_foreignKeyData()
Higgs\Database\SQLSRV\Connection::execute()
Higgs\Database\SQLSRV\Connection::_fieldData()
Higgs\Database\SQLSRV\Connection::_indexData()
Higgs\Database\SQLSRV\Connection::_foreignKeyData()
Higgs\Database\SQLite3\Connection::execute()
Higgs\Database\SQLite3\Connection::_fieldData()
Higgs\Database\SQLite3\Connection::_indexData()
Higgs\Database\SQLite3\Connection::_foreignKeyData()
Higgs\Images\Handlers\GDHandler::_flatten()
Higgs\Images\Handlers\GDHandler::_flip()
Higgs\Images\Handlers\ImageMagickHandler::_flatten()
Higgs\Images\Handlers\ImageMagickHandler::_flip()
Higgs\Test\Mock\MockIncomingRequest::detectURI()
Higgs\Test\Mock\MockSecurity.php::sendCookie()
To be compatible with the strict inheritance checks of PHP 8.1, the following method signatures were added return types to match their parents’ signatures whenever possible:
Higgs\Cookie\Cookie::offsetExists()
Higgs\Cookie\Cookie::offsetSet()
Higgs\Cookie\Cookie::offsetUnset()
Higgs\Cookie\CookieStore::getIterator()
Higgs\I18n\Time::__wakeup()
Higgs\Test\Filters\CITestStreamFilter::filter()
Related to the strict inheritance checks of PHP 8.1, the following session handlers implementing
SessionHandlerInterface
have their public methods modified to match the interface:Higgs\Session\Handlers\ArrayHandler
Higgs\Session\Handlers\DatabaseHandler
Higgs\Session\Handlers\FileHandler
Higgs\Session\Handlers\MemcachedHandler
Higgs\Session\Handlers\RedisHandler
See the repo’s CHANGELOG_4.1.md for a complete list of changes.