Skip to content

Commit 62bf3ab

Browse files
paulbalandanMGatner
authored andcommitted
Add entry to changelog for initial PHP 8.1 changes
1 parent 0ae2594 commit 62bf3ab

1 file changed

Lines changed: 42 additions & 25 deletions

File tree

user_guide_src/source/changelogs/v4.1.4.rst

Lines changed: 42 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,45 @@ This release focuses on code style. All changes (except those noted below) are c
1010

1111
Breaking Changes:
1212

13-
The following methods were changed from "public" to "protected" to match their parent class methods and better align with their uses:
14-
15-
* CodeIgniter\Database\MySQLi\Connection::execute()
16-
* CodeIgniter\Database\MySQLi\Connection::_fieldData()
17-
* CodeIgniter\Database\MySQLi\Connection::_indexData()
18-
* CodeIgniter\Database\MySQLi\Connection::_foreignKeyData()
19-
* CodeIgniter\Database\Postgre\Builder::_like_statement()
20-
* CodeIgniter\Database\Postgre\Connection::execute()
21-
* CodeIgniter\Database\Postgre\Connection::_fieldData()
22-
* CodeIgniter\Database\Postgre\Connection::_indexData()
23-
* CodeIgniter\Database\Postgre\Connection::_foreignKeyData()
24-
* CodeIgniter\Database\SQLSRV\Connection::execute()
25-
* CodeIgniter\Database\SQLSRV\Connection::_fieldData()
26-
* CodeIgniter\Database\SQLSRV\Connection::_indexData()
27-
* CodeIgniter\Database\SQLSRV\Connection::_foreignKeyData()
28-
* CodeIgniter\Database\SQLite3\Connection::execute()
29-
* CodeIgniter\Database\SQLite3\Connection::_fieldData()
30-
* CodeIgniter\Database\SQLite3\Connection::_indexData()
31-
* CodeIgniter\Database\SQLite3\Connection::_foreignKeyData()
32-
* CodeIgniter\Images\Handlers\GDHandler::_flatten()
33-
* CodeIgniter\Images\Handlers\GDHandler::_flip()
34-
* CodeIgniter\Images\Handlers\ImageMagickHandler::_flatten()
35-
* CodeIgniter\Images\Handlers\ImageMagickHandler::_flip()
36-
* CodeIgniter\Test\Mock\MockIncomingRequest::detectURI()
37-
* CodeIgniter\Test\Mock\MockSecurity.php::sendCookie()
13+
- The following methods were changed from "public" to "protected" to match their parent class methods and better align with their uses:
14+
15+
* ``CodeIgniter\Database\MySQLi\Connection::execute()``
16+
* ``CodeIgniter\Database\MySQLi\Connection::_fieldData()``
17+
* ``CodeIgniter\Database\MySQLi\Connection::_indexData()``
18+
* ``CodeIgniter\Database\MySQLi\Connection::_foreignKeyData()``
19+
* ``CodeIgniter\Database\Postgre\Builder::_like_statement()``
20+
* ``CodeIgniter\Database\Postgre\Connection::execute()``
21+
* ``CodeIgniter\Database\Postgre\Connection::_fieldData()``
22+
* ``CodeIgniter\Database\Postgre\Connection::_indexData()``
23+
* ``CodeIgniter\Database\Postgre\Connection::_foreignKeyData()``
24+
* ``CodeIgniter\Database\SQLSRV\Connection::execute()``
25+
* ``CodeIgniter\Database\SQLSRV\Connection::_fieldData()``
26+
* ``CodeIgniter\Database\SQLSRV\Connection::_indexData()``
27+
* ``CodeIgniter\Database\SQLSRV\Connection::_foreignKeyData()``
28+
* ``CodeIgniter\Database\SQLite3\Connection::execute()``
29+
* ``CodeIgniter\Database\SQLite3\Connection::_fieldData()``
30+
* ``CodeIgniter\Database\SQLite3\Connection::_indexData()``
31+
* ``CodeIgniter\Database\SQLite3\Connection::_foreignKeyData()``
32+
* ``CodeIgniter\Images\Handlers\GDHandler::_flatten()``
33+
* ``CodeIgniter\Images\Handlers\GDHandler::_flip()``
34+
* ``CodeIgniter\Images\Handlers\ImageMagickHandler::_flatten()``
35+
* ``CodeIgniter\Images\Handlers\ImageMagickHandler::_flip()``
36+
* ``CodeIgniter\Test\Mock\MockIncomingRequest::detectURI()``
37+
* ``CodeIgniter\Test\Mock\MockSecurity.php::sendCookie()``
38+
39+
- 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:
40+
41+
* ``CodeIgniter\Cookie\Cookie::offsetExists()``
42+
* ``CodeIgniter\Cookie\Cookie::offsetSet()``
43+
* ``CodeIgniter\Cookie\Cookie::offsetUnset()``
44+
* ``CodeIgniter\Cookie\CookieStore::getIterator()``
45+
* ``CodeIgniter\I18n\Time::__wakeup()``
46+
* ``CodeIgniter\Test\Filters\CITestStreamFilter::filter()``
47+
48+
- 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:
49+
50+
* ``CodeIgniter\Session\Handlers\ArrayHandler``
51+
* ``CodeIgniter\Session\Handlers\DatabaseHandler``
52+
* ``CodeIgniter\Session\Handlers\FileHandler``
53+
* ``CodeIgniter\Session\Handlers\MemcachedHandler``
54+
* ``CodeIgniter\Session\Handlers\RedisHandler``

0 commit comments

Comments
 (0)