-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jakubboucek/v2
Project design update & refctoring
- Loading branch information
Showing
58 changed files
with
12,061 additions
and
383 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.gitignore export-ignore | ||
.github export-ignore | ||
example.php export-ignore | ||
tests export-ignore |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/vendor | ||
composer.lock | ||
/.phpunit.result.cache | ||
/composer.lock | ||
/vendor/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
{ | ||
"name": "jakubboucek/tar-stream-reader", | ||
"description": "Reader for TAR and TAR+GZip Archives, optimized for read huge size archives, effective memory usage.", | ||
"type": "library", | ||
"license": "MIT", | ||
"type": "library", | ||
"authors": [ | ||
{ | ||
"name": "Jakub Bouček", | ||
"email": "pan@jakubboucek.cz" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.3", | ||
"ext-zlib": "*" | ||
"php": "~8.0.0 || ~8.1.0 || ~8.2.0", | ||
"psr/http-message": "~1.0 || ~2.0" | ||
}, | ||
"require-dev": { | ||
"phpstan/phpstan": "^0.12.83", | ||
"symplify/easy-coding-standard": "^9.2" | ||
"phpstan/phpstan": "1.10.18", | ||
"phpunit/phpunit": "^9.0 || ^10.0" | ||
}, | ||
"suggest": { | ||
"ext-bz2": "Needed to support BZ2 compressed archive format", | ||
"ext-zlib": "Needed to support GZipped archive format" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"JakubBoucek\\Tar\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"JakubBoucek\\Tar\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"phpstan": "phpstan analyse src --level 7", | ||
"ecs": "ecs check src", | ||
"ecs-fix": "ecs check src --fix" | ||
"test": "phpunit tests" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
cacheResultFile=".phpunit.result.cache" | ||
failOnWarning="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Unit tests"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true"> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace JakubBoucek\Tar\Exception; | ||
|
||
class EofException extends \RuntimeException | ||
{ | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace JakubBoucek\Tar\Exception; | ||
|
||
class FileContentClosedException extends \LogicException | ||
{ | ||
} |
Oops, something went wrong.