Skip to content

Fix support for PHP 8.4 and above#26

Merged
TheIndra55 merged 2 commits intomasterfrom
php84
Jan 3, 2026
Merged

Fix support for PHP 8.4 and above#26
TheIndra55 merged 2 commits intomasterfrom
php84

Conversation

@TheIndra55
Copy link
Copy Markdown
Member

Makes the following changes:

  • Update packages to support PHP 8.4 (mostly Twig)
  • Fix a cast that was deprecated in PHP 8.5

We're still using two packages that are both unmaintained and have a deprecation warning, so not sure what to do with those, but it's only a warning and we have some time.

PHP Deprecated:  Yosymfony\Toml\Parser::syntaxError(): Implicitly marking parameter $token as nullable is deprecated, the explicit nullable type must be used instead in C:\Users\Indra\source\repos\DeerLister\vendor\yosymfony\toml\src\Parser.php on line 581
PHP Deprecated:  Parsedown::blockSetextHeader(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in C:\Users\Indra\source\repos\DeerLister\vendor\erusev\parsedown\Parsedown.php on line 715
PHP Deprecated:  Parsedown::blockTable(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in C:\Users\Indra\source\repos\DeerLister\vendor\erusev\parsedown\Parsedown.php on line 853

The previous one hasn't been maintained in 5 years, doesn't support TOML 1.0.0 and has a deprecation warning.
@TheIndra55 TheIndra55 requested a review from Xwilarg December 28, 2025 00:36
@TheIndra55 TheIndra55 merged commit a569474 into master Jan 3, 2026
1 check passed
@TheIndra55 TheIndra55 deleted the php84 branch January 3, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants