- Issue created by @hesslinger
- last update
7 months ago Composer error. Unable to continue. - last update
7 months ago 158 pass - ๐บ๐ธUnited States pcate
Add nullable possibility for base64Encode.
The
base64_encode
filter is a thin wrapper around thebase64_encode
php function: https://www.php.net/manual/en/function.base64-encode.phpStarting with PHP 8.1 passing null to non-nullable functions like
base64_encode
is deprecated.You can use the
string
filter provided by the module to avoid this issue:{{ null|string|base64_encode }}
- ๐ฎ๐ณIndia abhishek_virasat
abhishek_gupta1 โ made their first commit to this issueโs fork.
- last update
7 months ago 158 pass - Status changed to Needs review
7 months ago 6:34am 16 April 2024 - ๐ฎ๐ณIndia abhishek_virasat
above patch fixed the issue , also I created MR
- Status changed to Closed: works as designed
2 months ago 3:31am 23 September 2024 - ๐บ๐ธUnited States pcate
I want to keep the twig function as close to the PHP one it uses as possible. Comment #3 has an easy way to work with nullable values.