php-uopz 7.1.1++-6
Package Information
| Description | UOPZ extension for PHP 7 The uopz extension is focused on providing utilities to aid with unit testing PHP code. It supports the following activities: * Intercepting function execution * Intercepting object creation * Hooking into function execution * Manipulation of function statics * Manipulation of function flags * Redefinition of constants * Deletion of constants * Runtime creation of functions and methods This is empty package that depends on default PHP version. |
|---|---|
| Maintainer | Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/php-team/pecl/php-uopz.git (browse) |
| Popcon Installs | 15 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-uopz |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Date | Sat, 21 Nov 2026 10:04:37 +0100 |
|---|---|
| Source | php-uopz |
| Version | 7.1.1++-6 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
| Distribution | experimental |
Changelog
php-uopz (7.1.1++-6) experimental; urgency=medium . * Use zend_ce_exception directly * Add patch to fix FTBFS with PHP 8.6 * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6 * Bump Build-Depends to dh-php >= 5.23~
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | php-uopz deb php optional arch=all php-uopz-all-dev deb php optional arch=all php8.6-uopz deb php optional arch=any |
| Section | php |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: php-uopz
Source: https://github.com/nikic/php-uopz
Files: *
Copyright: 2014 Joe Watkins, Remi Collet
License: PHP-3.01
Files: debian/*
Copyright: 2019 Ondřej Surý <ondrej@debian.org>
License: PHP-3.01
License: PHP-3.01
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
--------------------------------------------------------------------
.
Redistribution and use in source and binary forms, with or without
modification, is 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. The name "PHP" must not be used to endorse or promote products
derived from this software without prior written permission. For
written permission, please contact group@php.net.
.
4. Products derived from this software may not be called "PHP", nor
may "PHP" appear in their name, without prior written permission
from group@php.net. You may indicate that your software works in
conjunction with PHP by saying "Foo for PHP" instead of calling
it "PHP Foo" or "phpfoo"
.
5. The PHP Group may publish revised and/or new versions of the
license from time to time. Each version will be given a
distinguishing version number.
Once covered code has been published under a particular version
of the license, you may always continue to use it under the terms
of that version. You may also choose to use such covered code
under the terms of any subsequent version of the license
published by the PHP Group. No one other than the PHP Group has
the right to modify the terms applicable to covered code created
under this License.
.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes PHP software, freely available from
<http://www.php.net/software/>".
.
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
ANY EXPRESSED 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 PHP
DEVELOPMENT TEAM OR ITS 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.
.
--------------------------------------------------------------------
.
This software consists of voluntary contributions made by many
individuals on behalf of the PHP Group.
.
The PHP Group can be contacted via Email at group@php.net.
.
For more information on the PHP Group and the PHP project,
please see <http://www.php.net>.
.
PHP includes the Zend Engine, freely available at
<http://www.zend.com>.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 4 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 2 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Proposes a replacement debian/copyright:
debian/copyright Format field
Report
DFSG NEW review for php-uopz version 7.1.1++-6
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 4 minor
- debian/watch: old format (version 3)
- debian/copyright: machine-readable, without the current Format URL
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5, and it describes the tree correctly: every upstream .c/.h file, uopz.c, uopz.h, config.m4, config.w32, README.md and the tests are under PHP License 3.01 with Copyright (c) Joe Watkins 2016-2021, and uopz-7.1.1/LICENSE is PHP-3.01 with Copyright (c) 2012-2014 Joe Watkins; both holders of Files: * (Joe Watkins, Remi Collet, the latter a lead in package.xml) are named, and the full licence text is included because PHP-3.01 is not in /usr/share/common-licenses. PHP-3.01 is the licence Debian's own php ships under in main; the lintian PHP-license warning is overridden with a comment explaining it is expected for PECL extensions. No non-free wording, no other licence, no vendored third-party code and no built artifacts were found. The one inaccuracy is the Source: URL, which names a repository the sources do not identify as upstream.
Packaging
Standard php-team pkg-pecl.mk packaging: debian/rules just includes /usr/share/dh-php/pkg-pecl.mk, the binary split (arch:all php-uopz / php-uopz-all-dev metapackages plus arch:any php8.6-uopz) is the usual dh-php scheme, all relationship substvars are present, and the build dependencies exist with the required versions (dh-php 5.23 in unstable, php-all-dev 2:102~ in experimental). The sixteen quilt patches have From/Date/Subject headers and clear purposes, source format is 3.0 (quilt), gbp.conf and Vcs-* are sane, and the changelog is coherent. Remaining problems are minor: an old Standards-Version. debian/compat 10 is old but functional and not a Policy violation.
Issues
important licensing 1. debian/copyright does not declare the current copyright-format 1.0 URL ◂
- Files:
debian/copyright:1 - Basis: found by the review tooling's own checks
- Evidence:
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ - Problem: The first field must be exactly
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/(copyright-format 1.0, "Format" field). Anything else, including thehttp://form and the URLs of the drafts that preceded 1.0, does not declare the file to be in the current format, and a file written to a draft may also use field names and licence short names that 1.0 changed. - Fix: Replace the line as shown under Proposed changes, then check the rest of the file against copyright-format 1.0 (for example
Upstream-Name,Upstream-ContactandSourcein the header, notNameorMaintainer).
minor licensing 2. debian/copyright names github.com/nikic/php-uopz as Source, but the sources identify krakjoe/uopz as upstream ◂
- Files:
debian/copyright:3 - Basis: checked, in the package or with a reference tool
- Evidence:
Source: https://github.com/nikic/php-uopz, whileuopz-7.1.1/README.md:5-6linksgithub.com/krakjoe/uopz,package.xmlnames the lead userkrakjoe, anddebian/patches/0008-...patch:5refers togithub.com/krakjoe/uopz/issues/177. - Problem: The Source field of debian/copyright is meant to record where the source came from; every upstream artifact in the package points at krakjoe/uopz (a PECL release tarball, per package.xml), so the recorded URL misstates the provenance of the work the copyright stanza describes.
- Fix: Change the field to the actual upstream, e.g.
Source: https://github.com/krakjoe/uopz(orhttps://pecl.php.net/package/uopz, which is where the release tarball comes from).
minor packaging 3. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
- Files:
debian/control:9,debian/control.in:9 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1 - Problem: Policy 5.6.11 documents the field and the reviewing system's Policy is 4.7.4.1, so the declared version is two minor series behind (4.5 against 4.7). Policy 4.1 notes an old value is not in itself a violation, but it should be refreshed when packaging is reviewed.
- Fix: Set
Standards-Version: 4.7.4.1in both debian/control and debian/control.in; no packaging change is needed to comply.
minor packaging 4. debian/watch is in the old version 3 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=3 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
minor packaging 5. uscan finds only upstream versions older than the packaged one ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence: upstream
7.1.1, packaged7.1.1++ - Problem: The newest version uscan finds with
debian/watchis older than the version indebian/changelog, so the watch file does not find the packaged release: it may look in the wrong place, or the versions may need mangling to compare. - Fix: Check where
debian/watchlooks and how it mangles versions.
Verified ◂
- Read all of debian/: control, control.in, rules, changelog, copyright, compat, gbp.conf, php-uopz.php, uopz.ini, source/format, source.lintian-overrides, patches/series and all sixteen patches.
- Read uopz-7.1.1/LICENSE in full, plus the headers of all sixteen src/.c, src/.h plus uopz.c, uopz.h, config.m4, config.w32 and README.md: all carry
Copyright (c) Joe Watkins 2016-2021and the PHP license 3.01 notice; the only holders in the tree are Joe Watkins (LICENSE:2012-2014) and Remi Collet (co-lead in package.xml), both named in theFiles: *stanza. - PHP-3.01 is not in /usr/share/common-licenses, and its full text is present in the standalone
License: PHP-3.01paragraph of debian/copyright. Debian's php packages ship under the same licence in main; debian/source.lintian-overrides documents the deliberate override of license-problem-php-license for PECL extensions. - Grep for GPL/LGPL/MIT/BSD/Apache/MPL,
public domain,non-commercial,All rights reservedetc. found no other licence, no field-of-use or no-modification terms, and no other LICENSE/COPYING/NOTICE file anywhere in uopz-7.1.1/; tests are plain .phpt files covered byFiles: *. - No built, minified, PDF, archive or other binary artifacts in uopz-7.1.1/: the only files are config.m4, config.w32, uopz.c, uopz.h, LICENSE, README.md, sixteen src/ sources and the .phpt tests; no generated code without its generator input.
- tests/007_1.phpt, tests/bugs/gh179.phpt and tests/bugs/gh167.phpt exist only because patches 0005, 0009 and 0010 create them (
--- /dev/null); they are covered byFiles: debian/*and were not counted against theFiles: *stanza. - Build-Depends are satisfiable: dh-php 5.23 is in unstable and php-all-dev 2:102~ in experimental (apt-cache/madison as of 2026-11-21), matching the versions in debian/control.
- debian/rules includes /usr/share/dh-php/pkg-pecl.mk and exports REPORT_EXIT_STATUS:=0 (deliberate; changelog 6.1.2-2), so build-time php test failures do not fail the build; there is no debian/tests/ autopkgtest.
- debian/compat is 10 with
debhelper (>= 10~); within Policy and still supported by current debhelper, so not raised as an issue. - Patches carry From/Date/Subject (git format-patch style) headers with a clear purpose each; 0008 links upstream issue 177 and the others fix PHP 8.x compatibility or test expectations.
- .pc/ and debian/cargo-checksum.json (absent) were excluded from all searches and not read.
Not confirmed ◂
- Whether github.com/nikic/php-uopz exists as a fork: no network access, so the Source-field issue rests on the in-package references to krakjoe/uopz.
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Source: https://pecl.php.net/package/uopz
Matching-Pattern: .*/uopz-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
Proposed: debian/copyright Format field ◂
Replace line 1 of debian/copyright with:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.