You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
John-Betong
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
May 15, 2020
michalsn
added
enhancement
PRs that improve existing functionalities
and removed
bug
Verified issues on the current code behavior or pull requests that will fix them
labels
Jun 22, 2020
Build: ace3f2c - Thursday May 14th, 2020
Over 420 files have the following declaration added:
<?php DECLARE(STRICT_TYPES=1); ?>
There is only a single file remaining which prevents STRICT_TYPES validation.
file: ./system/Database/MYSQLi/Connection.php
`
public function connect(bool $persistent = false)
{
// Do we have a socket path?
if ($this->hostname[0] === '/')
{
$hostname = null;
$port = null;
$socket = $this->hostname;
}
else
{
$hostname = ($persistent === true) ? 'p:' . $this->hostname : $this->hostname;
$port = empty($this->port) ? null : $this->port;
// OLD
$socket = null;
// NEW
$socket = (string) null; // JOHN ADDED (string)
}
`
Online demo: https://ci4-strict.tk
The text was updated successfully, but these errors were encountered: