Skip to content

Fix PHP ^8.2 deprecation warnings (explicit nullable types)#132

Merged
YahnisElsts merged 1 commit intoYahnisElsts:masterfrom
HungNth:master
Mar 5, 2026
Merged

Fix PHP ^8.2 deprecation warnings (explicit nullable types)#132
YahnisElsts merged 1 commit intoYahnisElsts:masterfrom
HungNth:master

Conversation

@HungNth
Copy link
Contributor

@HungNth HungNth commented Mar 3, 2026

Summary

This PR fixes PHP 8.2+ deprecation warnings caused by implicitly nullable parameters
by adding explicit nullable type declarations.

Details

  • No behavior changes
  • PHP 7.4+ compatible
  • Tested on PHP 8.2 and 8.3

Affected files

  • includes/Wpup/Package.php
  • includes/Wpup/ZipMetadataParser.php
  • includes/Parsedown/Parsedown.php

…date fromArchive and constructor to accept nullable Wpup_Cache
@YahnisElsts YahnisElsts merged commit a449b41 into YahnisElsts:master Mar 5, 2026
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