Skip to content

Commit 9b05623

Browse files
committed
Release v4.4.2
1 parent 9f8535e commit 9b05623

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ writable/uploads/*
6161
!writable/uploads/index.html
6262

6363
writable/debugbar/*
64+
!writable/debugbar/.gitkeep
6465

6566
php_errors.log
6667

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ PHP version 7.4 or higher is required, with the following extensions installed:
5555
- [intl](http://php.net/manual/en/intl.requirements.php)
5656
- [mbstring](http://php.net/manual/en/mbstring.installation.php)
5757

58+
> **Warning**
59+
> The end of life date for PHP 7.4 was November 28, 2022. If you are
60+
> still using PHP 7.4, you should upgrade immediately. The end of life date
61+
> for PHP 8.0 will be November 26, 2023.
62+
5863
Additionally, make sure that the following extensions are enabled in your PHP:
5964

6065
- json (enabled by default - don't turn it off)

app/Config/Migrations.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ class Migrations extends BaseConfig
2525
*
2626
* This is the name of the table that will store the current migrations state.
2727
* When migrations runs it will store in a database table which migration
28-
* level the system is at. It then compares the migration level in this
29-
* table to the $config['migration_version'] if they are not the same it
30-
* will migrate up. This must be set.
28+
* files have already been run.
3129
*/
3230
public string $table = 'migrations';
3331

app/Config/View.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
use CodeIgniter\Config\View as BaseView;
66
use CodeIgniter\View\ViewDecoratorInterface;
77

8+
/**
9+
* @phpstan-type ParserCallable (callable(mixed): mixed)
10+
* @phpstan-type ParserCallableString (callable(mixed): mixed)&string
11+
*/
812
class View extends BaseView
913
{
1014
/**
@@ -30,7 +34,8 @@ class View extends BaseView
3034
* { title|esc(js) }
3135
* { created_on|date(Y-m-d)|esc(attr) }
3236
*
33-
* @var array
37+
* @var array<string, string>
38+
* @phpstan-var array<string, ParserCallableString>
3439
*/
3540
public $filters = [];
3641

@@ -39,7 +44,8 @@ class View extends BaseView
3944
* by the core Parser by creating aliases that will be replaced with
4045
* any callable. Can be single or tag pair.
4146
*
42-
* @var array
47+
* @var array<string, array<string>|callable|string>
48+
* @phpstan-var array<string, array<ParserCallableString>|ParserCallableString|ParserCallable>
4349
*/
4450
public $plugins = [];
4551

0 commit comments

Comments
 (0)