Codeigniter changes between 4.7.2 and 4.7.4 (#4650)

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
This commit is contained in:
objecttothis authored and GitHub committed 2026-08-21 11:28:19 +04:00
1 parent cc93c31355
commit d081346528
4 files changed
+6 -12

No files matched your search

+2 -1
View File
@@ -37,7 +37,8 @@ Events::on('pre_system', static function (): void {
throw new ConfigException('Encryption key could not be provisioned. Check that .env is writable.');
}
if (ini_get('zlib.output_compression')) {
$value = ini_get('zlib.output_compression');
if (filter_var($value, FILTER_VALIDATE_BOOLEAN) || (int) $value > 0) {
throw FrameworkException::forEnabledZlibOutputCompression();
}
+1 -3
View File
@@ -2,9 +2,7 @@
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
/** @var RouteCollection $routes */
$routes->setDefaultController('Login');
$routes->get('/', 'Login::index');
+1
View File
@@ -15,6 +15,7 @@ class Session extends BaseConfig
* --------------------------------------------------------------------------
*
* The session storage driver to use:
* - `CodeIgniter\Session\Handlers\ArrayHandler` (for testing)
* - `CodeIgniter\Session\Handlers\FileHandler`
* - `CodeIgniter\Session\Handlers\DatabaseHandler`
* - `CodeIgniter\Session\Handlers\MemcachedHandler`
+2 -8
View File
@@ -5,10 +5,6 @@ namespace Config;
use CodeIgniter\Config\View as BaseView;
use CodeIgniter\View\ViewDecoratorInterface;
/**
* @phpstan-type parser_callable (callable(mixed): mixed)
* @phpstan-type parser_callable_string (callable(mixed): mixed)&string
*/
class View extends BaseView
{
/**
@@ -34,8 +30,7 @@ class View extends BaseView
* { title|esc(js) }
* { created_on|date(Y-m-d)|esc(attr) }
*
* @var array<string, string>
* @phpstan-var array<string, parser_callable_string>
* @var array<string, (callable(mixed): mixed)&string>
*/
public $filters = [];
@@ -44,8 +39,7 @@ class View extends BaseView
* by the core Parser by creating aliases that will be replaced with
* any callable. Can be single or tag pair.
*
* @var array<string, callable|list<string>|string>
* @phpstan-var array<string, list<parser_callable_string>|parser_callable_string|parser_callable>
* @var array<string, (callable(mixed...): mixed)|((callable(mixed...): mixed)&string)|list<(callable(mixed...): mixed)&string>>
*/
public $plugins = [];