1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00
phorge-phorge/externals/pear-figlet
Andre Klapper f97c9d68d0 Fix PHP 8.1 Fatal error in Figlet: Use square brackets instead of curly braces
Summary:
Replace curly with square brackets when accessing an array value. See
https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace
https://wiki.php.net/rfc/deprecate_curly_braces_array_access#wasn_t_the_curly_brace_syntax_deprecated_once_before

Closes T15406

Test Plan:
Fixed these two lines; afterwards Figlet rendered in task comment preview. Example figlet:

```
figlet {{{ stuff }}}
```

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15406

Differential Revision: https://we.phorge.it/D25233
2023-05-20 17:43:16 +02:00
..
docs Include "Figlet" and PEAR "Text_Figlet" in externals 2015-09-13 12:30:48 -07:00
fonts Include "Figlet" and PEAR "Text_Figlet" in externals 2015-09-13 12:30:48 -07:00
Text Fix PHP 8.1 Fatal error in Figlet: Use square brackets instead of curly braces 2023-05-20 17:43:16 +02:00