diff -Nru php-psr-link-1.1.0+really1.0.0/composer.json php-psr-link-1.1.1/composer.json --- php-psr-link-1.1.0+really1.0.0/composer.json 2016-10-28 16:06:13.000000000 +0000 +++ php-psr-link-1.1.1/composer.json 2021-03-11 22:59:13.000000000 +0000 @@ -1,5 +1,7 @@ { "name": "psr/link", + "type": "library", + "homepage": "https://github.com/php-fig/link", "description": "Common interfaces for HTTP links", "keywords": ["psr", "psr-13", "http", "http-link", "link", "rest"], "license": "MIT", @@ -10,7 +12,7 @@ } ], "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "autoload": { "psr-4": { diff -Nru php-psr-link-1.1.0+really1.0.0/debian/changelog php-psr-link-1.1.1/debian/changelog --- php-psr-link-1.1.0+really1.0.0/debian/changelog 2021-10-30 14:24:28.000000000 +0000 +++ php-psr-link-1.1.1/debian/changelog 2022-01-27 15:59:52.000000000 +0000 @@ -1,9 +1,13 @@ -php-psr-link (1.1.0+really1.0.0-1) unstable; urgency=medium +php-psr-link (1.1.1-1) unstable; urgency=medium + [ Larry Garfield ] + * Fix type errors. See errata 7.2. + + [ David Prévot ] * Fix d/watch after hosting change - * Track 1.0 to stay compatible with PHP 7 (Closes: #997119) + * Mark package as Multi-Arch: foreign - -- David Prévot Sat, 30 Oct 2021 10:24:28 -0400 + -- David Prévot Thu, 27 Jan 2022 11:59:52 -0400 php-psr-link (1.1.0-1) unstable; urgency=medium diff -Nru php-psr-link-1.1.0+really1.0.0/debian/control php-psr-link-1.1.1/debian/control --- php-psr-link-1.1.0+really1.0.0/debian/control 2021-10-30 14:09:44.000000000 +0000 +++ php-psr-link-1.1.1/debian/control 2022-01-27 15:57:26.000000000 +0000 @@ -6,12 +6,13 @@ Build-Depends: debhelper-compat (= 13), dh-sequence-phpcomposer, phpab Standards-Version: 4.6.0 Homepage: https://www.php-fig.org/psr/psr-13/ -Vcs-Git: https://salsa.debian.org/php-team/pear/php-psr-link.git -b debian/1.0 +Vcs-Git: https://salsa.debian.org/php-team/pear/php-psr-link.git -b debian/bookworm Vcs-Browser: https://salsa.debian.org/php-team/pear/php-psr-link Rules-Requires-Root: no Package: php-psr-link Architecture: all +Multi-Arch: foreign Depends: ${misc:Depends}, ${phpcomposer:Debian-require} Recommends: ${phpcomposer:Debian-recommend} Suggests: ${phpcomposer:Debian-suggest} diff -Nru php-psr-link-1.1.0+really1.0.0/debian/gbp.conf php-psr-link-1.1.1/debian/gbp.conf --- php-psr-link-1.1.0+really1.0.0/debian/gbp.conf 2021-10-30 14:09:34.000000000 +0000 +++ php-psr-link-1.1.1/debian/gbp.conf 2022-01-27 15:56:09.000000000 +0000 @@ -1,5 +1,5 @@ [DEFAULT] -debian-branch = debian/1.0 +debian-branch = debian/bookworm pristine-tar = True -upstream-branch = upstream-1.0 +upstream-branch = upstream-bookworm upstream-vcs-tag = %(version%~%-)s diff -Nru php-psr-link-1.1.0+really1.0.0/debian/watch php-psr-link-1.1.1/debian/watch --- php-psr-link-1.1.0+really1.0.0/debian/watch 2021-10-30 14:15:47.000000000 +0000 +++ php-psr-link-1.1.1/debian/watch 2022-01-27 15:56:09.000000000 +0000 @@ -1,5 +1,4 @@ version=4 -options=uversionmangle=s/-?([^\d.])\.?/~$1/i;tr/A-Z/a-z/,\ -dversionmangle=s/^1.1.0\+really// \ +options=uversionmangle=s/-?([^\d.])\.?/~$1/i;tr/A-Z/a-z/ \ https://github.com/php-fig/link/tags \ -.*/v?(1\.0.+).tar.gz +.*/v?(1.+).tar.gz diff -Nru php-psr-link-1.1.0+really1.0.0/README.md php-psr-link-1.1.1/README.md --- php-psr-link-1.1.0+really1.0.0/README.md 2016-10-28 16:06:13.000000000 +0000 +++ php-psr-link-1.1.1/README.md 2021-03-11 22:59:13.000000000 +0000 @@ -2,7 +2,7 @@ ============= This repository holds all interfaces/classes/traits related to -[PSR-13](https://github.com/php-fig/fig-standards/blob/master/proposed/links.md). +[PSR-13](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-13-links.md). Note that this is not an HTTP link implementation of its own. It is merely an interface that describes an HTTP link. See the specification for more details. diff -Nru php-psr-link-1.1.0+really1.0.0/src/EvolvableLinkInterface.php php-psr-link-1.1.1/src/EvolvableLinkInterface.php --- php-psr-link-1.1.0+really1.0.0/src/EvolvableLinkInterface.php 2016-10-28 16:06:13.000000000 +0000 +++ php-psr-link-1.1.1/src/EvolvableLinkInterface.php 2021-03-11 22:59:13.000000000 +0000 @@ -10,7 +10,7 @@ /** * Returns an instance with the specified href. * - * @param string $href + * @param string|\Stringable $href * The href value to include. It must be one of: * - An absolute URI, as defined by RFC 5988. * - A relative URI, as defined by RFC 5988. The base of the relative link @@ -24,7 +24,7 @@ * * @return static */ - public function withHref($href); + public function withHref(string|\Stringable $href); /** * Returns an instance with the specified relationship included. @@ -36,7 +36,7 @@ * The relationship value to add. * @return static */ - public function withRel($rel); + public function withRel(string $rel); /** * Returns an instance with the specified relationship excluded. @@ -48,7 +48,7 @@ * The relationship value to exclude. * @return static */ - public function withoutRel($rel); + public function withoutRel(string $rel); /** * Returns an instance with the specified attribute added. @@ -58,11 +58,11 @@ * * @param string $attribute * The attribute to include. - * @param string $value + * @param string|\Stringable|int|float|bool|array $value * The value of the attribute to set. * @return static */ - public function withAttribute($attribute, $value); + public function withAttribute(string $attribute, string|\Stringable|int|float|bool|array $value); /** @@ -75,5 +75,5 @@ * The attribute to remove. * @return static */ - public function withoutAttribute($attribute); + public function withoutAttribute(string $attribute); } diff -Nru php-psr-link-1.1.0+really1.0.0/src/LinkProviderInterface.php php-psr-link-1.1.1/src/LinkProviderInterface.php --- php-psr-link-1.1.0+really1.0.0/src/LinkProviderInterface.php 2016-10-28 16:06:13.000000000 +0000 +++ php-psr-link-1.1.1/src/LinkProviderInterface.php 2021-03-11 22:59:13.000000000 +0000 @@ -23,7 +23,10 @@ * The iterable may be an array or any PHP \Traversable object. If no links * with that relationship are available, an empty array or \Traversable MUST be returned. * + * @param string $rel + * The relationship name for which to retrieve links. + * * @return LinkInterface[]|\Traversable */ - public function getLinksByRel($rel); + public function getLinksByRel(string $rel); }