Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.3.0 #43

Merged
merged 34 commits into from
Mar 7, 2024
Merged

v2.3.0 #43

merged 34 commits into from
Mar 7, 2024

Conversation

ewilan-riviere
Copy link
Contributor

  • Add password option for ZIP, RAR and 7z files, using read(string $path, ?string $password = null) and readFromString(string $contents, ?string $password = null, ?string $extension = null) methods.
  • Add new Archive::class method readFromString(string $contents, ?string $password = null, ?string $extension = null) to read an archive from a string
  • When you read RAR or 7z archives with p7zip binary, you can set manually the path to the binary using overrideBinaryPath(string $path) method.
  • getFiles() method is now deprecated. Use getFileItems() instead.
  • New method getFileItem(string $path) to get a single file item.

ewilan-riviere and others added 30 commits March 7, 2024 09:47
Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 89.74359% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 91.40%. Comparing base (05a077b) to head (d0eb8ee).

❗ Current head d0eb8ee differs from pull request most recent head 3c29174. Consider uploading reports for the commit 3c29174 to get more accurate results

Files Patch % Lines
src/Archive.php 89.65% 3 Missing ⚠️
src/Readers/BaseArchive.php 81.81% 2 Missing ⚠️
src/Readers/ArchivePdf.php 66.66% 1 Missing ⚠️
src/Readers/ArchiveRar.php 83.33% 1 Missing ⚠️
src/Readers/ArchiveZip.php 90.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #43      +/-   ##
============================================
- Coverage     91.70%   91.40%   -0.30%     
- Complexity      294      311      +17     
============================================
  Files            14       14              
  Lines           988     1047      +59     
============================================
+ Hits            906      957      +51     
- Misses           82       90       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ewilan-riviere ewilan-riviere merged commit 28a9bae into main Mar 7, 2024
12 of 14 checks passed
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