Repository navigation
Commit db00816
committed
Replace current zip extraction logic with Symfony ZipArchive class
Implemented the `ZipArchive` class for profile extraction in `NewCommand.php`, as specified by the TODO comment.
- Added `use ZipArchive;` import.
- Updated `extractProfile` method to use `ZipArchive::extractTo`.
- Ensured extraction path is created before extraction.
- Correctly set `$extractionSucceeded` for subsequent logic.1 parent 1b28339 commit db00816
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
653 | | - | |
654 | | - | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
655 | 663 | | |
656 | 664 | | |
657 | 665 | | |
| |||
0 commit comments