DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-symfony-polyfill 1.44.0-1

Package Information

Description${phpcomposer:description}

The Symfony Polyfill project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions. It is intended to be used when portability across PHP versions and extensions is desired.

Symfony is a PHP framework, a set of tools and a development methodology.

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/php-symfony-polyfill.git (browse)
Popcon Installs2406
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-symfony-polyfill
Uploaded5 hours ago

New Package Report

.changes◂
DateSun, 15 Nov 2026 22:06:26 +0100
Sourcephp-symfony-polyfill
Version1.44.0-1
Changed-ByDavid Prévot <taffit@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
php-symfony-polyfill (1.44.0-1) unstable; urgency=medium
 .
   [ Nicolas Grekas ]
   * [Php85] Use array_key_last() in the array_last() polyfill
   * Update changelog for v1.44.0
 .
   [ phcorp ]
   * [Intl/BreakIterator] Add the IntlBreakIterator polyfill
   * [Intl/Char] Add the IntlChar polyfill for the properties of code points
 .
   [ Niklas Keller ]
   * [Io/Poll] Report failed async connects on Windows
 .
   [ David Prévot ]
   * Add php-symfony-polyfill-intl-breakiterator and
     php-symfony-polyfill-intl-char
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-symfony-polyfill deb php optional arch=all
php-symfony-polyfill-apcu deb php optional arch=all
php-symfony-polyfill-ctype deb php optional arch=all
php-symfony-polyfill-deepclone deb php optional arch=all
php-symfony-polyfill-iconv deb php optional arch=all
php-symfony-polyfill-intl-breakiterator deb php optional arch=all
php-symfony-polyfill-intl-char deb php optional arch=all
php-symfony-polyfill-intl-grapheme deb php optional arch=all
php-symfony-polyfill-intl-icu deb php optional arch=all
php-symfony-polyfill-intl-idn deb php optional arch=all
php-symfony-polyfill-intl-messageformatter deb php optional arch=all
php-symfony-polyfill-intl-normalizer deb php optional arch=all
php-symfony-polyfill-io-poll deb php optional arch=all
php-symfony-polyfill-mbstring deb php optional arch=all
php-symfony-polyfill-php73 deb php optional arch=all
php-symfony-polyfill-php74 deb php optional arch=all
php-symfony-polyfill-php80 deb php optional arch=all
php-symfony-polyfill-php81 deb php optional arch=all
php-symfony-polyfill-php82 deb php optional arch=all
php-symfony-polyfill-php83 deb php optional arch=all
php-symfony-polyfill-php84 deb php optional arch=all
php-symfony-polyfill-php85 deb php optional arch=all
php-symfony-polyfill-php86 deb php optional arch=all
php-symfony-polyfill-time deb php optional arch=all
php-symfony-polyfill-util deb php optional arch=all
php-symfony-polyfill-uuid deb php optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Symfony Polyfill
Upstream-Contact: Fabien Potencier <fabien@symfony.com>
Source: https://github.com/symfony/polyfill

Files: *
Copyright: 2015-2026, Fabien Potencier <fabien@symfony.com>
           2013, Ben Ramsey <https://benramsey.com>
           2018-2019, Trevor Rowbotham <trevor.rowbotham@pm.me>
License: Expat

Files: src/Iconv/Resources/charset/*
       src/Intl/Normalizer/Resources/unidata/*
       src/Mbstring/Resources/unidata/*
       tests/Intl/Normalizer/NormalizationTest.txt
       tests/Intl/Idn/IdnaTestV2.txt
Copyright: 1991-2015, 2019, Unicode, Inc.
License: Unicode

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is furnished
 to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

License: Unicode
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of the Unicode data files and any associated documentation
 (the "Data Files") or Unicode software and any associated documentation
 (the "Software") to deal in the Data Files or Software
 without restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, and/or sell copies of
 the Data Files or Software, and to permit persons to whom the Data Files
 or Software are furnished to do so, provided that
 (a) this copyright and permission notice appear with all copies
 of the Data Files or Software,
 (b) this copyright and permission notice appear in associated
 documentation, and
 (c) there is clear notice in each modified Data File or in the Software
 as well as in the documentation associated with the Data File(s) or
 Software that the data or software has been modified.
 .
 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT OF THIRD PARTY RIGHTS.
 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
 NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
 DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THE DATA FILES OR SOFTWARE.
 .
 Except as contained in this notice, the name of a copyright holder
 shall not be used in advertising or otherwise to promote the sale,
 use or other dealings in these Data Files or Software without prior
 written authorization of the copyright holder.

DFSG Assistant LLM REVIEW 2 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 4 hours ago.

Report◂

DFSG NEW review for php-symfony-polyfill version 1.44.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 2 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 55 found (15 not listed by the scan, so not checked)

Licensing

The tree is free software overall (MIT/Expat code, BSD-3-Clause for the MessageFormatter fork, Unicode licence for the data tables, all mutually compatible), and debian/copyright is DEP-5 with complete Expat and Unicode licence texts. It is inaccurate in two material ways: src/Intl/MessageFormatter/MessageFormatter.php (installed in php-symfony-polyfill-intl-messageformatter) and its test are BSD-3-Clause, copyright Yii Software LLC, but are declared Expat under Files: , with no Yii holder and no BSD notice; and the Unicode stanza covers only the Iconv, Normalizer and Mbstring data, not the UCD-derived tables of Intl/Char, Intl/BreakIterator and Intl/Idn, which are shipped in binary packages. Two smaller gaps: the BreakIterator test data files carry Unicode notices not matched by any stanza, and debian/ has no stanza of its own.

Packaging

The packaging is in good shape: debhelper compat 14 with dh-sequence-phpcomposer, a clean per-component split generated from the components' composer.json files, all generated files removed by debian/clean, DEP-3 patches that are documented in the changelog, a working autopkgtest, current Standards-Version (4.7.4 against Policy 4.7.4.1) and Vcs-*/upstream metadata. Every Build-Depends is in the archive or provided by pkg-php-tools, and the <!nocheck> dependencies are only needed by the test step. I found nothing a sponsor would require to be fixed.

Issues

blocker licensing 1. MessageFormatter.php and its test are BSD-3-Clause, copyright Yii Software LLC, but debian/copyright declares them Expat and omits both the holder and the BSD notice ◂
  • Files: src/Intl/MessageFormatter/MessageFormatter.php:4-33, tests/Intl/MessageFormatter/MessageFormatterTest.php:4-33, debian/copyright (Files: * stanza)
  • Basis: checked, in the package or with a reference tool
  • Evidence: Both files begin: * Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) / * All rights reserved. followed by the three-clause BSD text (Redistributions of source code must retain the above copyright notice ... Neither the name of Yii Software LLC ...). debian/copyright has only Files: * with Copyright: 2015-2026, Fabien Potencier ... and License: Expat, and contains no BSD text.
  • Problem: The licence of these two files is misstated (BSD-3-Clause, not Expat) and the copyright holder Yii Software LLC is named nowhere. The BSD notice must be reproduced in source and binary distributions; MessageFormatter.php is installed into php-symfony-polyfill-intl-messageformatter by override_dh_install (dh_install ... $$src_path/* usr/share/php/Symfony/Polyfill/$$pkg_path/), so Policy 2.3 requires its notice and licence in debian/copyright even though the test file is not installed.
  • Fix: Add a stanza Files: src/Intl/MessageFormatter/MessageFormatter.php tests/Intl/MessageFormatter/MessageFormatterTest.php with Copyright: 2008 Yii Software LLC (http://www.yiisoft.com) and License: BSD-3-clause, and a stand-alone License: BSD-3-clause paragraph containing the Yii three-clause BSD text. The licence is compatible with the Expat code it is combined with in the binary package.
blocker licensing 2. Unicode stanza omits the UCD-derived tables shipped by php-symfony-polyfill-intl-char, -intl-breakiterator and -intl-idn ◂
  • Files: src/Intl/Char/Resources/unidata/ (all files and tables/), src/Intl/BreakIterator/Resources/unidata/wordBreak.php, src/Intl/Idn/Resources/unidata/ (all files), debian/copyright (Unicode stanza)
  • Basis: checked, in the package or with a reference tool
  • Evidence: tests/update-unidata.php generates exactly these directories: Compiler::wordBreakRegexp(__DIR__.'/../src/Intl/BreakIterator/Resources/unidata/', $ucd), Compiler::intlCharMaps(__DIR__.'/../src/Intl/Char/Resources/unidata/', $ucd) and Compiler::idnMaps/ idnRegexClass/ idnViramaMap(__DIR__.'/../src/Intl/Idn/Resources/unidata/') from https://unicode.org/Public/17.0.0/ucd/ files and IdnaMappingTable.txt; src/Intl/BreakIterator/Resources/unidata/wordBreak.php:3 says // from auxiliary/WordBreakProperty.txt, emoji/emoji-data.txt, PropList.txt, LineBreak.txt and Scripts.txt. The Unicode stanza of debian/copyright lists only src/Iconv/Resources/charset/, src/Intl/Normalizer/Resources/unidata/, src/Mbstring/Resources/unidata/*, tests/Intl/Normalizer/NormalizationTest.txt and tests/Intl/Idn/IdnaTestV2.txt.
  • Problem: These tables are copies/derivatives of Unicode data, so the Unicode licence requires the notice with every copy. They are compiled into the very source that php-symfony-polyfill-intl-char, php-symfony-polyfill-intl-breakiterator and php-symfony-polyfill-intl-idn install (each package installs its whole src// tree), yet debian/copyright names neither the files nor Unicode, Inc. for them; Files: * attributes them to Fabien Potencier under Expat. Policy 2.3 requires the notice in debian/copyright for compiled-in files. The same file already treats the analogous Normalizer and Mbstring tables as Unicode data.
  • Fix: Add src/Intl/Char/Resources/unidata/*, src/Intl/BreakIterator/Resources/unidata/* and src/Intl/Idn/Resources/unidata/* to the Files list of the existing Unicode stanza (Copyright: Unicode, Inc.; License: Unicode), whose licence text is already in the file.
minor licensing 3. tests/Intl/BreakIterator/GraphemeBreakTest.txt and WordBreakTest.txt carry Unicode copyright notices that no stanza matches ◂
  • Files: tests/Intl/BreakIterator/GraphemeBreakTest.txt:3, tests/Intl/BreakIterator/WordBreakTest.txt:3, debian/copyright (Unicode stanza)
  • Basis: checked, in the package or with a reference tool
  • Evidence: Both start with # © 2025 Unicode®, Inc. / # Unicode and the Unicode Logo are registered trademarks ...; the Unicode stanza lists only tests/Intl/Normalizer/NormalizationTest.txt and tests/Intl/Idn/IdnaTestV2.txt from tests/.
  • Problem: Policy 2.3 does not require the notice here: the tests/ tree is installed by no binary package (debian/install and debian/rules install only src/), and the files are plain text shipped with their notices intact. The copyright file is nevertheless incomplete for them, since Files: * names the wrong holder.
  • Fix: Add the two files to the Files list of the Unicode stanza.
minor licensing 4. debian/* has no copyright stanza: Files: * attributes the Debian packaging to Fabien Potencier ◂
  • Files: debian/copyright (Files: * stanza), debian/rules, debian/control, debian/changelog, debian/patches/*
  • Basis: inferred from what was read, not seen directly
  • Evidence: The only general stanza is Files: * / Copyright: 2015-2026, Fabien Potencier ... / License: Expat; there is no Files: debian/* stanza, while debian/ is Debian's own work (changelog signed by David Prévot <taffit@debian.org>, rules comment Parts from the symfony package’s debian/rules).
  • Problem: The packaging files are not upstream's and are not held by Fabien Potencier, so assigning them to him is inaccurate; debian/changelog and debian/copyright are also shipped in every binary package. Policy 2.3 does not require notices for the build-only files (rules, patches, control), but a complete debian/copyright should name the packaging's holders.
  • Fix: Add a Files: debian/* stanza (after Files: *, so it overrides it) naming the Debian maintainers, e.g. Copyright: 2015-2026 David Prévot <taffit@debian.org> and the other contributors, with the licence the packaging is meant to carry (presumably Expat).
Verified ◂
  • debian/copyright is DEP-5 with the canonical Format: URL; it has a Files: * stanza, a Unicode-data stanza, and complete stand-alone License: Expat and License: Unicode texts (the Unicode licence is not in /usr/share/common-licenses, so its text is needed and present).
  • All LICENSE files were read: the root and per-component LICENSE files are Expat with Copyright (c) <year>-present Fabien Potencier, and src/Intl/Idn/LICENSE adds Trevor Rowbotham; the Files: * stanza names Fabien Potencier, Ben Ramsey and Trevor Rowbotham. Every PHP file header carries only (c) Fabien Potencier <fabien@symfony.com>.
  • The 55 files the scan lists as unrecognised binary data are the PHP charset maps src/Iconv/Resources/charset/from.*.php (cp*, iso-8859-, windows-125, koi8-*, us-ascii). They are static $data = array (...) PHP sources that contain non-UTF-8 bytes, not compiled artefacts; Iconv.php documents them as the hand-editable charset sources, and tests/Compiler.php + tests/update-unidata.php (both in the package) generate them. They are matched by the Unicode stanza.
  • src/Iconv/Resources/charset/translit.php is a plain UTF-8 PHP array in the same directory and is covered by the Unicode stanza.
  • tests/Php73/fixtures/en.res is a 316-byte binary ICU resource bundle used as a test fixture by the Php73 resource tests; it is test data, is not installed, and is not a build product.
  • tests/update-unidata.php downloads UCD/CLDR files only when a maintainer runs it; debian/rules never calls it, so nothing is fetched during the build.
  • No non-free terms were found: a grep over the tree (excluding debian/ and .pc/) for non-commercial, no-modification, NC/ND, "Good, not Evil" and similar found nothing, and the only "All rights reserved" occurrences are the two BSD-3-Clause Yii headers.
  • debian/patches: 0001-0005 are present in series; each has From/Date/Subject and a diff; 0001 and 0004 carry Forwarded: not-needed; 0004 comments out one Idn test datum and 0005 skips tests on 32-bit architectures, both recorded in debian/changelog.
  • debhelper compat 14 (debhelper-compat (= 14)); pkg-php-tools 1.50 provides the dh-sequence-phpcomposer build dependency (apt-cache), so the missing-build-dependency-for-dh_-command lintian override in debian/source/ overrides a false positive.
  • The <!nocheck> dependencies (php-intl, php-symfony-intl, phpunit, php-symfony-phpunit-bridge, php-symfony-var-dumper, php-apcu/mongodb/uuid/...) are used only by override_dh_auto_test, which dh skips at compat 14 under nocheck, and by execute_after_dh_auto_build, which only writes their installation paths into the phpab template (phpabtpl --require-file does not open them), so a nocheck build does not need them.
  • Build-Depends exist in the archive: php-symfony-intl 7.4.23+dfsg-1 (satisfies >= 7.4.21+dfsg-2~), php-symfony-phpunit-bridge 7.4.23, phpab 1.29.4, php-uuid 1.3.0, php-mongodb 2.5.5 (apt-cache).
  • Standards-Version 4.7.4, whose first two components match Policy 4.7.4.1; Vcs-Git/Vcs-Browser, Homepage and debian/upstream/metadata are present and consistent.
  • The metapackage's Depends: ${phpcomposer:Debian-replace} pattern is how the archive's php-symfony-polyfill 1.43.3-1 is built (its Depends lists every component with = <version>); root composer.json's replace list includes the two new components (polyfill-intl-char, polyfill-intl-breakiterator), and both have a Package stanza in debian/control, an entry in debian/pkg-php-tools-autoloaders and in debian/autoload.php.
  • debian/clean removes every generated artefact (src/.php autoloads at all three depths, debian/autoloaders/, debian/packages_to_build/, debian/.php.tpl, Symfony/, vendor/, .phpunit.result.cache).
  • debian/tests/control runs one autopkgtest that builds vendor/autoload.php from tests/ and runs phpunit, with every extension and symfony component it needs in Depends (including @ for the package's own binaries).
  • 26 binary packages, all Architecture: all; every component package carries Multi-Arch: foreign, and the new ones use the same substvar set as the existing ones.
  • uscan found the packaged version as the newest upstream release (upstream 1.44.0, packaged 1.44.0).
Not confirmed ◂
  • src/Intl/Icu/Resources/currencies.php is regenerated by tests/Intl/Icu/CurrenciesTest.php from symfony/intl's Resources/data/currencies (CLDR) data, so it is probably also under the Unicode licence and should be added to the Unicode stanza; I did not verify CLDR's licence text on this system.
  • debian/pkg-php-tools-overrides line 10 maps symfony polyfill-intl-messageformatted (a name that does not exist) to php-symfony-polyfill-intl-messageformatted; pkg-php-tools is not installed on this system, so I could not check whether dh_phpcomposer's default name mapping (which yields php-symfony-polyfill-intl-messageformatter anyway) makes the misspelling inert.
  • I did not build the package or run its tests.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
1.42.0-1 47090e31… 2026-08-29 11:52 2026-09-01 16:33 mechtilde accepted VIEW
1.41.0-1 fa6506af… 2026-08-03 14:49 2026-08-03 14:52 mechtilde accepted VIEW
1.36.0-1 7f58d75b… 2026-04-19 18:01 2026-04-19 18:19 babelouest accepted VIEW
1.36.0-1 7f58d75b… 2026-04-19 18:39 2026-04-19 18:47 mechtilde accepted VIEW

Back to Dashboard | View all reviews for this package