colossal/colossal-http-message

An implementation of the PSR-7 standardized interfaces.

v2.0.1 2023-06-04 08:29 UTC

This package is auto-updated.

Last update: 2024-10-04 11:41:00 UTC


README

An implementation of the PSR-7 standardized interfaces.

Development Tips

Running PHPUnit Test Suites

Run the PHPUnit test suites with the following command:

>> .\vendor\bin\phpunit

To additionally print the test coverage results to stdout run the following command:

>> .\vendor\bin\phpunit --coverage-html="coverage"

Running PHPStan Code Quality Analysis

Run the PHPStan code quality analysis with the following command:

>> .\vendor\bin\phpstan --configuration=phpstan.neon --xdebug

Running PHP Code Sniffer Code Style Analysis

Run the PHP Code Sniffer code style analysis with the following commands:

>> .\vendor\bin\phpcs --standard=phpcs.xml src
>> .\vendor\bin\phpcs --standard=phpcs.xml test

To fix automatically resolve issues found by PHP Code Sniffer run the following commands:

>> .\vendor\bin\phpcbf --standard=phpcs.xml src
>> .\vendor\bin\phpcbf --standard=phpcs.xml test