Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9...@gmail.com>

* Package name    : php-weirdan-prophecy-shim
  Version         : 1.0.0
  Upstream Author : Bruce Weirdan <weir...@gmail.com>
* URL             : https://github.com/weirdan/prophecy-shim
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 Prophecy shim for PHPUnit

 This package provides a compatibility shim for the Prophecy mocking
framework
 to work with PHPUnit. It allows using Prophecy mocks in PHPUnit tests
without
 conflicts or compatibility issues across different PHPUnit versions.

 The shim provides the ProphecyTrait that was deprecated in PHPUnit 9.1 and
 removed in PHPUnit 10, enabling seamless use of Prophecy mocks in tests
 regardless of the PHPUnit version being used.

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 need comprehensive testing capabilities with
mocking
 support to ensure reliability and accuracy of license detection algorithms.

 The php-weirdan-prophecy-shim package is essential for:
 - Enabling Prophecy mocking framework compatibility with PHPUnit
 - Supporting testing of FOSSology's PHP components across PHPUnit versions
 - Maintaining test compatibility when upgrading PHPUnit versions
 - Providing consistent mocking capabilities for unit tests
 - Supporting reliable automated testing of license detection tools
 - Ensuring test suites work with both older and newer PHPUnit versions

Technical Details:
 - Requires PHP >= 5.4
 - Depends on phpunit (^6.0|^7.0|^8.0|^9.0)
 - Provides ProphecyTrait for PHPUnit compatibility
 - Uses PSR-4 autoloading
 - Provides compatibility layer for Prophecy mocking framework
 - MIT licensed for maximum compatibility
 - Supports multiple PHPUnit versions

Dependencies:
 - php (>= 5.4)
 - phpunit (>= 6.0)
 - Build dependencies: phpunit, php-codesniffer

The package will be maintained by Ahmed Gamal <ahmed.gamal9...@gmail.com>
as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team

Reply via email to