-
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 #43 from sunrise-php/release/v3.4.2
v3.4.2
- Loading branch information
Showing
8 changed files
with
144 additions
and
131 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
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,86 +1,85 @@ | ||
{ | ||
"name": "sunrise/http-message", | ||
"homepage": "https://github.com/sunrise-php/http-message", | ||
"description": "HTTP message wrapper for PHP 7.4+ based on RFC-7230, PSR-7 and PSR-17", | ||
"license": "MIT", | ||
"keywords": [ | ||
"fenric", | ||
"sunrise", | ||
"http", | ||
"header", | ||
"message", | ||
"request", | ||
"response", | ||
"stream", | ||
"uri", | ||
"upload", | ||
"rfc-7230", | ||
"psr-7", | ||
"psr-17" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Anatoly Nekhay", | ||
"email": "afenric@gmail.com", | ||
"homepage": "https://github.com/fenric" | ||
} | ||
"name": "sunrise/http-message", | ||
"homepage": "https://github.com/sunrise-php/http-message", | ||
"description": "HTTP message implementation for PHP 7.4+ based on RFC-7230, PSR-7 and PSR-17.", | ||
"license": "MIT", | ||
"keywords": [ | ||
"fenric", | ||
"sunrise", | ||
"http", | ||
"header", | ||
"message", | ||
"request", | ||
"response", | ||
"stream", | ||
"uri", | ||
"upload", | ||
"rfc-7230", | ||
"psr-7", | ||
"psr-17" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Anatoly Nekhay", | ||
"email": "afenric@gmail.com", | ||
"homepage": "https://github.com/fenric" | ||
} | ||
], | ||
"provide": { | ||
"psr/http-message-implementation": "1.0", | ||
"psr/http-factory-implementation": "1.0" | ||
}, | ||
"require": { | ||
"php": ">=7.4", | ||
"fig/http-message-util": "^1.1", | ||
"psr/http-factory": "^1.0", | ||
"psr/http-message": "^1.0" | ||
}, | ||
"require-dev": { | ||
"php-di/php-di": "^6.4 || ^7.0", | ||
"php-http/psr7-integration-tests": "^1.4", | ||
"phpstan/phpstan": "^2.1", | ||
"phpunit/phpunit": "^9.6", | ||
"sunrise/coding-standard": "^1.0", | ||
"vimeo/psalm": "^5.26 || ^6.0" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"functions/server_request_files.php", | ||
"functions/server_request_headers.php", | ||
"functions/server_request_method.php", | ||
"functions/server_request_protocol_version.php", | ||
"functions/server_request_uri.php" | ||
], | ||
"provide": { | ||
"psr/http-message-implementation": "1.0", | ||
"psr/http-factory-implementation": "1.0" | ||
}, | ||
"require": { | ||
"php": ">=7.4", | ||
"fig/http-message-util": "^1.1", | ||
"psr/http-factory": "^1.0", | ||
"psr/http-message": "^1.0" | ||
}, | ||
"require-dev": { | ||
"php-di/php-di": "^6.4 || ^7.0", | ||
"php-http/psr7-integration-tests": "^1.4", | ||
"phpstan/phpstan": "^2.1", | ||
"phpunit/phpunit": "^9.6", | ||
"sunrise/coding-standard": "^1.0", | ||
"vimeo/psalm": "^5.26 || ^6.0" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"functions/server_request_files.php", | ||
"functions/server_request_headers.php", | ||
"functions/server_request_method.php", | ||
"functions/server_request_protocol_version.php", | ||
"functions/server_request_uri.php" | ||
], | ||
"psr-4": { | ||
"Sunrise\\Http\\Message\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Sunrise\\Http\\Message\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"phpcs": "@php phpcs --colors", | ||
"psalm": "@php psalm --no-cache", | ||
"phpstan": "@php phpstan analyse src --level=9 --memory-limit=-1", | ||
"phpunit": "@php phpunit --colors=always", | ||
"test": [ | ||
"@phpcs", | ||
"@psalm", | ||
"@phpstan", | ||
"@phpunit" | ||
] | ||
}, | ||
"conflict": { | ||
"sunrise/http-factory": "*", | ||
"sunrise/http-header": "*", | ||
"sunrise/http-header-kit": "*", | ||
"sunrise/http-server-request": "*", | ||
"sunrise/stream": "*", | ||
"sunrise/uri": "*" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
"psr-4": { | ||
"Sunrise\\Http\\Message\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Sunrise\\Http\\Message\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"phpcs": "@php phpcs --colors", | ||
"psalm": "@php psalm --no-cache", | ||
"phpstan": "@php phpstan analyse src --level=9 --memory-limit=-1", | ||
"phpunit": "@php phpunit --colors=always", | ||
"test": [ | ||
"@phpcs", | ||
"@psalm", | ||
"@phpstan", | ||
"@phpunit" | ||
] | ||
}, | ||
"conflict": { | ||
"sunrise/http-factory": "*", | ||
"sunrise/http-header": "*", | ||
"sunrise/http-server-request": "*", | ||
"sunrise/stream": "*", | ||
"sunrise/uri": "*" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
} | ||
} |
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,8 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Sunrise Coding Standard"> | ||
<rule ref="./vendor/sunrise/coding-standard/ruleset.xml"/> | ||
<rule ref="./vendor/sunrise/coding-standard/ruleset.xml"/> | ||
|
||
<file>functions</file> | ||
<file>src</file> | ||
<file>tests</file> | ||
<file>functions</file> | ||
<file>src</file> | ||
<file>tests</file> | ||
</ruleset> |
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,25 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
> | ||
<coverage> | ||
<include> | ||
<directory>./functions</directory> | ||
<directory>./src</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="sunrise/http-message"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<const name="REQUEST_FACTORY" value="Sunrise\Http\Message\RequestFactory" /> | ||
<const name="RESPONSE_FACTORY" value="Sunrise\Http\Message\ResponseFactory" /> | ||
<const name="SERVER_REQUEST_FACTORY" value="Sunrise\Http\Message\ServerRequestFactory" /> | ||
<const name="STREAM_FACTORY" value="Sunrise\Http\Message\StreamFactory" /> | ||
<const name="UPLOADED_FILE_FACTORY" value="Sunrise\Http\Message\UploadedFileFactory" /> | ||
<const name="URI_FACTORY" value="Sunrise\Http\Message\UriFactory" /> | ||
</php> | ||
<coverage> | ||
<include> | ||
<directory>./functions</directory> | ||
<directory>./src</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="sunrise/http-message"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<const name="REQUEST_FACTORY" value="Sunrise\Http\Message\RequestFactory" /> | ||
<const name="RESPONSE_FACTORY" value="Sunrise\Http\Message\ResponseFactory" /> | ||
<const name="SERVER_REQUEST_FACTORY" value="Sunrise\Http\Message\ServerRequestFactory" /> | ||
<const name="STREAM_FACTORY" value="Sunrise\Http\Message\StreamFactory" /> | ||
<const name="UPLOADED_FILE_FACTORY" value="Sunrise\Http\Message\UploadedFileFactory" /> | ||
<const name="URI_FACTORY" value="Sunrise\Http\Message\UriFactory" /> | ||
</php> | ||
</phpunit> |
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,21 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
errorLevel="1" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
phpVersion="7.4" | ||
errorLevel="1" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
phpVersion="7.4" | ||
> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<issueHandlers> | ||
<PossiblyUnusedMethod errorLevel="suppress" /> | ||
<PossiblyUnusedReturnValue errorLevel="suppress" /> | ||
<UnusedClass errorLevel="suppress" /> | ||
</issueHandlers> | ||
<issueHandlers> | ||
<ClassMustBeFinal errorLevel="suppress" /> | ||
<MissingOverrideAttribute errorLevel="suppress" /> | ||
<PossiblyUnusedMethod errorLevel="suppress" /> | ||
<PossiblyUnusedReturnValue errorLevel="suppress" /> | ||
<UnusedClass errorLevel="suppress" /> | ||
</issueHandlers> | ||
</psalm> |
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