DFSG NEW Queue

DFSG, Licensing & New Packages Team

phpunit-version-requirement 1.0.0+ds-1

Package Information

Description${phpcomposer:description}

Library for checking whether a version satisfies a version requirement such as ^8.4 or >= 8.4.0, extracted from phpunit/phpunit.

PHPUnit is a unit testing suite for the PHP language, modelled on the xUnit testing framework.

MaintainerDebian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Changed ByDavid Prévot <taffit@debian.org>
Sponsortaffit@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/php-team/pear/phpunit-version-requirement.git (browse)
Trackerhttps://tracker.debian.org/pkg/phpunit-version-requirement
Uploaded1 hour ago

New Package Report

.changes◂
Sourcephpunit-version-requirement
Version1.0.0+ds-1
Changed-ByDavid Prévot <taffit@debian.org>
Architecturesource all
Distributionunstable
DateFri, 04 Dec 2026 12:24:57 +0100
Changelog◂
phpunit-version-requirement (1.0.0+ds-1) unstable; urgency=medium
 .
   * Initial release (new phpunit dependency)
.dsc◂
Priorityoptional
Componentmain
Package-Listphpunit-version-requirement deb php optional arch=all
Sectionphp
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: version-requirement
Upstream-Contact: Sebastian Bergmann <sebastian@phpunit.de>
Source: https://github.com/sebastianbergmann/version-requirement
Files-Excluded: tools

Files: * debian/*
Copyright: 2026, Sebastian Bergmann <sebastian@phpunit.de>
License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 .
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.
 .
 3. Neither the name of the copyright holder nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 0 hours ago.

Report◂

DFSG NEW review for phpunit-version-requirement version 1.0.0+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The licensing itself is DFSG-compliant: the whole upstream tree is under the BSD-3-clause grant reproduced in debian/copyright (LICENSE and composer.json agree), and no file carries non-free terms. debian/copyright is, however, not fully accurate: its single Files: * debian/* stanza attributes the Debian packaging in debian/* to Sebastian Bergmann and omits David Prévot, the packaging's author. Policy 2.3 does not require that notice (debian/* is build metadata, not shipped in the binary, and is plain text), so the fault is minor, not a blocker.

Packaging

The packaging is competent and follows current Policy: compat 14 with dh-sequence-phpcomposer, correct pkg-php-tools autoloaders/overrides data, a working build-time test setup whose phpunit dependency is correctly marked <!nocheck>, and an autopkgtest exercising the installed library. The only wart is a leftover ant build dependency that nothing in the build invokes.

Issues

minor licensing 1. debian/copyright attributes debian/* to Sebastian Bergmann and does not name packaging author David Prévot ◂
  • Files: debian/copyright:8-9, debian/changelog:1-5

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    Files: * debian/*
    Copyright: 2026, Sebastian Bergmann sebastian@phpunit.de

  • Problem: The combined stanza covers the upstream source and all of debian/ with one holder. debian/changelog is signed by David Prévot taffit@debian.org, who wrote the Debian packaging (debian/control, rules, copyright, install, clean, gbp.conf, README.source, tests, source, upstream). That packaging copyright is neither named nor given its own stanza, so debian/copyright is incomplete and misattributes the packaging files. Policy 2.3 does not require the notice because debian/* is not shipped in the binary package and is present as plain text, so this is minor, but the DFSG team expects a complete copyright file.

  • Fix: Keep Files: * for upstream and add a separate Files: debian/* stanza with Copyright: 2026, David Prévot <taffit@debian.org> and the licence under which the packaging is distributed (e.g. BSD-3-clause, as the rest of the tree).

minor packaging 2. Build-Depends on ant is never used by the build ◂
  • Files: debian/control:5-9, debian/rules, build.xml

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    Build-Depends: debhelper-compat (= 14),
    dh-sequence-phpcomposer,
    ant,
    phpab,
    phpunit <!nocheck>

  • Problem: Nothing in debian/rules invokes ant: override_dh_auto_build only generates src/autoload.php with phpab (suppressing dh_auto_build), the test override runs phpunit, and dh_phpcomposer does not use ant. build.xml's targets only run ${basedir}/tools/composer and ${basedir}/tools/phive, and tools/ is removed by Files-Excluded: tools. The dependency therefore only pulls ant and a JRE into every build for nothing.

  • Fix: Drop ant from Build-Depends.

Verified ◂
  • Read every file under debian/ (control, rules, changelog, copyright, install, clean, gbp.conf, README.source, watch, source/format, source/lintian-overrides, tests/control, upstream/metadata, autoloaders/phpunit-version-requirement, overrides/phpunit-version-requirement) and the .dsc.
  • Inventoried all 34 upstream files; every src/ and tests/ file carries the (c) Sebastian Bergmann <sebastian@phpunit.de> header, LICENSE is the BSD-3-clause text and composer.json states BSD-3-Clause; the prescan found no holder missing from debian/copyright.
  • Upstream build/config files (phpunit.xml, phpstan.neon, .php-cs-fixer.dist.php, build/, .github/, renovate.json, .gitattributes, .gitignore) contain no separate holder or licence; .github/CODE_OF_CONDUCT.md is an adaptation of Contributor Covenant 1.3.0 with attribution in the file, covered by the repository's BSD-3-clause grant.
  • No binary, minified, font, image or other built files in the tree; ChangeLog.md and README.md are plain upstream text.
  • Build-Depends names exist in the archive: debhelper-compat (14), dh-sequence-phpcomposer provided by pkg-php-tools 1.50, phpab 1.29.4-2, and phpunit 13.4.8+ds-1, which satisfies composer.json's phpunit ^13.4.5.
  • phpunit is marked <!nocheck> and is only needed by override_dh_auto_test; at compat 14 dh skips that override when DEB_BUILD_OPTIONS contains nocheck, so a nocheck build does not need it.
  • debian/install's directory sources land as /usr/share/pkg-php-tools/{autoloaders,overrides}/phpunit-version-requirement (dh_install preserves the directory name), matching pkg-php-tools' layout.
  • Standards-Version 4.7.4 has the current major/minor (4.7 against Policy 4.7.4.1) and is not an issue; Vcs-* fields and the changelog distribution/version are consistent.
  • debian/tests/control runs the upstream suite against the installed /usr/share/php/SebastianBergmann/VersionRequirement/autoload.php; the source tree ships tests/ and phpunit.xml, and the test depends on phpunit and @.
  • uscan found the packaged version as the newest upstream release (upstream 1.0.0, packaged 1.0.0+ds).
Not confirmed ◂
  • pkg-php-tools is not installed on the reviewing system, so I could not read dh_phpcomposer: whether it generates ${phpcomposer:description} and the ${phpcomposer:Debian-require/-suggest/-replace/-conflict/-provide} substvars used in debian/control was not checked; a build would show whether they expand.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package