Skip to content

Fix php 8.4 compat issues#6

Merged
HLeithner merged 2 commits intomainfrom
php-8.4-compat-fix
Mar 19, 2025
Merged

Fix php 8.4 compat issues#6
HLeithner merged 2 commits intomainfrom
php-8.4-compat-fix

Conversation

@SniperSister
Copy link
Collaborator

Fixes PHP 8.4 compat issues reported by @brianteeman

[19-Mar-2025 16:44:04 UTC] PHP Deprecated: Tuf\Client\Repository::getSnapshot(): Implicitly marking parameter $maxBytes as nullable is deprecated, the explicit nullable type must be used instead in D:\repos\j51\libraries\vendor\php-tuf\php-tuf\src\Client\Repository.php on line 83
[19-Mar-2025 16:44:04 UTC] PHP Deprecated: Tuf\Client\Repository::getTargets(): Implicitly marking parameter $maxBytes as nullable is deprecated, the explicit nullable type must be used instead in D:\repos\j51\libraries\vendor\php-tuf\php-tuf\src\Client\Repository.php on line 110

@SniperSister SniperSister self-assigned this Mar 19, 2025
@SniperSister SniperSister requested a review from HLeithner March 19, 2025 18:20
@brianteeman
Copy link

I manually applied the changes and the deprecated issue is fixed by this change - thanks

vs code also confirmed the code as a fix

@brianteeman
Copy link

tested the additional changes and can confirm the deprecated notice is no longer present there either

@HLeithner HLeithner merged commit 1fc585d into main Mar 19, 2025
@HLeithner
Copy link
Collaborator

thanks

@HLeithner HLeithner deleted the php-8.4-compat-fix branch March 19, 2025 20:05
@brianteeman
Copy link

Thanks

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.

3 participants