Skip to content

Fix zip compatibility issue - #94

Merged
adamziel merged 1 commit into
WordPress:trunkfrom
reimic:fix-zip-compat
Mar 28, 2024
Merged

Fix zip compatibility issue#94
adamziel merged 1 commit into
WordPress:trunkfrom
reimic:fix-zip-compat

Conversation

@reimic

Copy link
Copy Markdown
Collaborator

What does this PR do?

  • UnzipStepRunner tests will now pass for all supported PHP versions
  • some variables in the test were renamed for better readability and to match linting standards

What problem does it fix?

  • the ZipCentralDirectoryEntry and ZipFileEntry had some code that was PHP == 7.0 incompatible
  • some tests for the UnzipStepRunner were commented out since it broke the pipeline for PHP == 7.0

How to test if it works?

  • this PR includes tests for UnzipStepRunner
  • all tests should pass for all supported PHP versions

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@reimic@adamziel