-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support for compressed phar #7028
Closed
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
cc4b1d5
Added file extension check for Phar opening.
nazar-pc f02ad85
Implemented `Phar::isValidPharFilename()` method (PHP >= 5.3.0, PECL …
nazar-pc 3c87b46
Preparation for tar/zip-based Phar support:
nazar-pc 2b6b5fa
Some unification of `Phar` and `PharData` classes
nazar-pc 7d9993e
Do not store file pointer inside `Phar` instance, no need for that
nazar-pc 4e19975
Small decoupling of common code into generic constructor
nazar-pc 19fca77
`Phar` and `PharData` unified further - both use the same `offset*` m…
nazar-pc c9731ff
Tar/Zip formats should be supported now in `Phar` class (needs to be …
nazar-pc 7adb1bf
Unnecessary method removed
nazar-pc f25f293
Take a resource.
Orvid 645e61b
Switch to streams when interfacing with runtime, though only Zip work…
nazar-pc 32be78f
Completely stream-based Phar implementation
nazar-pc 1f3225f
Added support for compressed Phar archives (`.phar.gz` and `.phar.bz2…
nazar-pc 9e4eff5
Small fixes, tested and confirmed working support for:
nazar-pc e239e97
Small fixes, more tests for compression and signatures
nazar-pc fbd06a3
Ported original PHP test for `Phar::isValidPharFilename()` method, me…
nazar-pc b44295d
Redundant test removed, `is_valid_phar_filename` test already covers …
nazar-pc 9727e07
Better memory efficiency when getting file contents from Phar-based a…
nazar-pc ad5fb4f
Better memory efficiency when parsing and getting file contents from …
nazar-pc cc43cb0
Throw exceptions for functionality that is not implemented instead of…
nazar-pc ef3c0be
Relax strict typing to allow tests to pass in repo-auth mode
nazar-pc ec47aa9
Trivial fix for test output
nazar-pc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No way!!!that's so cool