Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <
ahmed.gamal9541@gmail.com>
* Package name : php-http-interop-http-factory-tests
Version : 0.9.0
Upstream Author : PHP-FIG <
http://www.php-fig.org/>
* URL :
https://github.com/http-interop/http-factory-tests* License : MIT
Programming Lang: PHP
Section : php
Description:
Unit tests for HTTP factories
This package provides unit tests for HTTP factories that implement the PSR-17
HTTP Factory specification. It contains comprehensive test cases that can be
used to verify that PSR-17 HTTP factory implementations conform to the
specification and are compatible with the standard.
The test suite covers all PSR-17 factory interfaces including RequestFactory,
ResponseFactory, ServerRequestFactory, StreamFactory, UploadedFileFactory,
and UriFactory, ensuring implementations follow the standard correctly.
Rationale:
This package is required as a dependency for FOSSology, an open source license
compliance system. FOSSology uses PHP-based tools for source code analysis and
license detection, which rely on PSR-17 HTTP factory implementations for
handling HTTP requests and responses in web-based components.
The http-factory-tests package is essential for:
- Testing PSR-17 HTTP factory implementations used by FOSSology
- Ensuring compatibility with HTTP factory standards
- Validating that HTTP request/response handling works correctly
- Supporting reliable testing of web-based FOSSology components
- Maintaining interoperability with other PSR-17 compliant libraries
Technical Details:
- Requires PHP >= 7.1
- Depends on psr/http-factory (^1.0) and phpunit (^6.5 || ^7.0 || ^8.0 || ^9.0)
- Uses PSR-4 autoloading
- Provides test suite for PSR-17 HTTP Factory specification
- Covers all PSR-17 factory interfaces
- MIT licensed for maximum compatibility
Dependencies:
- php (>= 7.1)
- php-psr-http-factory (>= 1.0)
- phpunit (>= 6.5)
- Build dependencies: phpunit, php-codesniffer
The package will be maintained by Ahmed Gamal <
ahmed.gamal9541@gmail.com> as part
of the FOSSology packaging effort.
--
Ahmed Gamal
FOSSology Debian Packaging Team