Skip to content

Added ZipArchive class#131

Merged
armanist merged 5 commits into
quantum-php:masterfrom
hatik92:master
Mar 15, 2023
Merged

Added ZipArchive class#131
armanist merged 5 commits into
quantum-php:masterfrom
hatik92:master

Conversation

@hatik92

@hatik92 hatik92 commented Mar 3, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

@hatik92 hatik92 requested a review from armanist March 3, 2023 14:47
@codecov

codecov Bot commented Mar 3, 2023

Copy link
Copy Markdown

Codecov Report

Merging #131 (62e4b99) into master (603d388) will increase coverage by 0.55%.
The diff coverage is 73.58%.

@@             Coverage Diff              @@
##             master     #131      +/-   ##
============================================
+ Coverage     68.72%   69.27%   +0.55%     
- Complexity     1757     1867     +110     
============================================
  Files           152      156       +4     
  Lines          4511     4810     +299     
============================================
+ Hits           3100     3332     +232     
- Misses         1411     1478      +67     
Impacted Files Coverage Δ
src/Libraries/Archive/Adapters/PharAdapter.php 71.92% <71.92%> (ø)
src/Libraries/Archive/Adapters/ZipAdapter.php 75.51% <75.51%> (ø)

... and 16 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

hatik92 added 2 commits March 6, 2023 17:44
Adding PharArchive class and tests
public function deleteMultipleFilesUsingName(array $fileNames): bool
{
try {
$newPhar = new Phar($this->archiveName);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new Phar instantiation should be moved to constructor

Comment thread tests/unit/Libraries/Archive/ZipTest.php Outdated
@hatik92 hatik92 requested a review from armanist March 13, 2023 15:05
@armanist armanist merged commit ad5327c into quantum-php:master Mar 15, 2023
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