Skip to content

Comments

Fix PHP 8.1/8.4 deprecations#6

Open
ddegasperi wants to merge 6 commits intozetacomponents:masterfrom
ddegasperi:fix/php84-nullable-type-deprecation
Open

Fix PHP 8.1/8.4 deprecations#6
ddegasperi wants to merge 6 commits intozetacomponents:masterfrom
ddegasperi:fix/php84-nullable-type-deprecation

Conversation

@ddegasperi
Copy link

@ddegasperi ddegasperi commented Feb 20, 2026

Addresses a series of deprecation warnings and compatibility issues introduced in PHP 8.1 and 8.4, and
adds GitHub Actions CI workflows.

PHP 8.4

  • Fix implicit nullable parameter type in ezcPersistentSaveHandler::saveInternal() by adding explicit
    ? prefix

PHP 8.1

  • Fix return type covariance issues on Iterator and ArrayObject subclasses
  • Fix return types on additional ArrayObject subclasses
  • Add void return types to test setUp/tearDown methods

Tests

  • Fix deprecated PHPUnit API usage in tests

CI

  • Add GitHub Actions workflows for CI and coding standard checks, using the shared
    zetacomponents/.github reusable workflows

@ddegasperi ddegasperi marked this pull request as draft February 20, 2026 10:26
@ddegasperi ddegasperi force-pushed the fix/php84-nullable-type-deprecation branch from af2aaff to 6c942e4 Compare February 20, 2026 20:07
@ddegasperi ddegasperi changed the title Fix PHP 8.4 implicit nullable type deprecation in saveInternal() Fix PHP 8.1/8.4 deprecations Feb 20, 2026
@ddegasperi ddegasperi marked this pull request as ready for review February 20, 2026 20:10
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.

1 participant