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
These three small changes make it possible to render the Welcome page using PHP Strict Mode.
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 11, 2020
lonnieezell
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
May 11, 2020
Adding the following script to index.php and to every single ./system PHP file makes the script compatible with the PHP Strict 7.?? source.
If and only if 'declare(strict_types=1)' is declared in the parent file will strict_types have any effect.
The following three files fail PHP strict validation because they "type juggle" to change the numeric to a bool:
Files:
./app/Config/Boot/development.php
./app/Config/Boot/production.php
./app/Config/Boot/testing.php
// FAIL
// defined('CI_DEBUG') || define('CI_DEBUG', 1);
// PASS:
defined('CI_DEBUG') || define('CI_DEBUG', TRUE);
These three small changes make it possible to render the Welcome page using PHP Strict Mode.
The text was updated successfully, but these errors were encountered: