summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-02 15:11:08 +0200
committerRemi Collet <remi@php.net>2026-04-02 15:11:08 +0200
commit4e8118a9579a87d42bd8f4bbb4f7f6a945ac728c (patch)
treee656bf8e9449afd4a0c3c47fc5f400e44091e9e2
parent928195c70def5fe68512dcc3388e7cfd41f0da8b (diff)
update to 4.0.7HEADmaster
-rw-r--r--composer.json13
-rw-r--r--php-sabre-xml4.spec20
2 files changed, 22 insertions, 11 deletions
diff --git a/composer.json b/composer.json
index faf06b3..94d631c 100644
--- a/composer.json
+++ b/composer.json
@@ -44,9 +44,10 @@
}
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.64",
- "phpstan/phpstan": "^1.12",
- "phpunit/phpunit" : "^9.6"
+ "friendsofphp/php-cs-fixer": "^3.94",
+ "phpstan/phpstan": "^2.1",
+ "phpunit/phpunit": "^9.6",
+ "rector/rector": "^2.3"
},
"scripts": {
"phpstan": [
@@ -58,6 +59,12 @@
"cs-fixer": [
"PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
],
+ "rector-check": [
+ "rector process --dry-run"
+ ],
+ "rector-fix": [
+ "rector process"
+ ],
"phpunit": [
"phpunit --configuration tests/phpunit.xml"
],
diff --git a/php-sabre-xml4.spec b/php-sabre-xml4.spec
index f483f0e..755160b 100644
--- a/php-sabre-xml4.spec
+++ b/php-sabre-xml4.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-sabre-xml4
#
-# 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 a89257fd188ce30e456b841b6915f27905dfdbe3
+%global gh_commit 53db7bad0953949fb61037fbf9b13b421492395c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sabre-io
%global gh_project xml
@@ -24,8 +24,8 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Summary: XML library that you may not hate
-Version: 4.0.6
-Release: 2%{?dist}
+Version: 4.0.7
+Release: 1%{?dist}
URL: https://github.com/%{gh_owner}/%{gh_project}
License: BSD-3-Clause
@@ -44,9 +44,10 @@ BuildRequires: php-libxml
BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json, "require-dev": {
-# "friendsofphp/php-cs-fixer": "^3.64",
-# "phpstan/phpstan": "^1.12",
-# "phpunit/phpunit" : "^9.6"
+# "friendsofphp/php-cs-fixer": "^3.94",
+# "phpstan/phpstan": "^2.1",
+# "phpunit/phpunit": "^9.6",
+# "rector/rector": "^2.3"
BuildRequires: phpunit9 >= 9.6
%global phpunit %{_bindir}/phpunit9
%endif
@@ -133,7 +134,7 @@ cd tests
: Run upstream test suite against installed library
ret=0
-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} || ret=1
@@ -153,6 +154,9 @@ exit $ret
%changelog
+* Thu Apr 2 2026 Remi Collet <remi@remirepo.net> - 4.0.7-1
+- update to 4.0.7
+
* Thu Feb 13 2025 Remi Collet <remi@remirepo.net> - 4.0.6-2
- re-license spec file to CECILL-2.1