diff options
| -rw-r--r-- | composer.json | 11 | ||||
| -rw-r--r-- | php-sabre-uri3.spec | 23 |
2 files changed, 20 insertions, 14 deletions
diff --git a/composer.json b/composer.json index 2d26c23..bb4a089 100644 --- a/composer.json +++ b/composer.json @@ -37,12 +37,13 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64", - "phpstan/phpstan": "^1.12", - "phpstan/phpstan-phpunit": "^1.4", - "phpstan/phpstan-strict-rules": "^1.6", + "friendsofphp/php-cs-fixer": "^3.94", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", "phpstan/extension-installer": "^1.4", - "phpunit/phpunit" : "^9.6" + "phpunit/phpunit" : "^9.6", + "rector/rector": "^2.3" }, "scripts": { "phpstan": [ diff --git a/php-sabre-uri3.spec b/php-sabre-uri3.spec index f137fff..f834b38 100644 --- a/php-sabre-uri3.spec +++ b/php-sabre-uri3.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-sabre-uri3 # -# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2016-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 38eeab6ed9eec435a2188db489d4649c56272c51 +%global gh_commit 4fa0b2049e06a4fbe4aea4f0aa69e7b8410a13bc %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sabre-io %global gh_project uri @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Summary: Functions for making sense out of URIs -Version: 3.0.2 +Version: 3.0.3 Release: 1%{?dist} URL: https://github.com/%{gh_owner}/%{gh_project} @@ -37,12 +37,14 @@ BuildArch: noarch %if %{with tests} BuildRequires: php(language) >= 7.4 # From composer.json, "require-dev": { -# "friendsofphp/php-cs-fixer": "^3.64", -# "phpstan/phpstan": "^1.12", -# "phpstan/phpstan-phpunit": "^1.4", -# "phpstan/phpstan-strict-rules": "^1.6", +# "friendsofphp/php-cs-fixer": "^3.94", +# "phpstan/phpstan": "^2.1", +# "phpstan/phpstan-phpunit": "^2.0", +# "phpstan/phpstan-strict-rules": "^2.0", # "phpstan/extension-installer": "^1.4", -# "phpunit/phpunit" : "^9.6" +# "phpunit/phpunit" : "^9.6", +# "rector/rector": "^2.3" + BuildRequires: phpunit9 >= 9.6 %global phpunit %{_bindir}/phpunit9 %endif @@ -115,7 +117,7 @@ mkdir vendor ln -s %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload.php vendor/autoload.php cd tests -for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do +for cmdarg in "php %{phpunit}" php82 php83 php84 php85; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1 @@ -138,6 +140,9 @@ exit $ret %changelog +* Wed Apr 1 2026 Remi Collet <remi@remirepo.net> - 3.0.3-1 +- update to 3.0.3 + * Thu Feb 13 2025 Remi Collet <remi@remirepo.net> - 3.0.2-1 - update to 3.0.2 - re-license spec file to CECILL-2.1 |
