summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json6
-rw-r--r--php-brick-varexporter.spec26
2 files changed, 18 insertions, 14 deletions
diff --git a/composer.json b/composer.json
index b26fe4a..24126ea 100644
--- a/composer.json
+++ b/composer.json
@@ -8,12 +8,12 @@
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
- "nikic/php-parser": "^4.0"
+ "nikic/php-parser": "^5.0"
},
"require-dev": {
- "phpunit/phpunit": "^8.5 || ^9.0",
+ "phpunit/phpunit": "^9.3",
"php-coveralls/php-coveralls": "^2.2",
- "vimeo/psalm": "5.15.0"
+ "psalm/phar": "5.21.1"
},
"autoload": {
"psr-4": {
diff --git a/php-brick-varexporter.spec b/php-brick-varexporter.spec
index 9851f9b..f71e0b8 100644
--- a/php-brick-varexporter.spec
+++ b/php-brick-varexporter.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# Github
-%global gh_commit 2fd038f7c9d12d468130c6e1b3ce06e4160a7dbb
+%global gh_commit 84b2a7a91f69aa5d079aec5a0a7256ebf2dceb6b
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner brick
%global gh_project varexporter
@@ -19,7 +19,7 @@
%global ns_project VarExporter
Name: php-%{pk_vendor}-%{pk_name}
-Version: 0.4.0
+Version: 0.5.0
Release: 1%{?dist}
Summary: A powerful alternative to var_export
@@ -34,34 +34,34 @@ BuildArch: noarch
BuildRequires: php(language) >= 7.4
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(nikic/php-parser) >= 4.0 with php-composer(nikic/php-parser) < 5)
+BuildRequires: (php-composer(nikic/php-parser) >= 5.0 with php-composer(nikic/php-parser) < 6)
# remirepo:3
%else
-BuildRequires: php-nikic-php-parser4
+BuildRequires: php-nikic-php-parser5
%endif
BuildRequires: php-reflection
BuildRequires: php-date
BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json, "require-dev": {
-# "phpunit/phpunit": "^8.5 || ^9.0",
+# "phpunit/phpunit": "^9.3",
# "php-coveralls/php-coveralls": "^2.2",
-# "vimeo/psalm": "5.15.0"
-BuildRequires: phpunit9
+# "psalm/phar": "5.21.1"
+BuildRequires: phpunit9 >= 9.3
%global phpunit %{_bindir}/phpunit9
# Autoloader
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
# "php": "^7.4 || ^8.0",
-# "nikic/php-parser": "^4.0"
+# "nikic/php-parser": "^5.0"
Requires: php(language) >= 7.2
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(nikic/php-parser) >= 4.0 with php-composer(nikic/php-parser) < 5)
+Requires: (php-composer(nikic/php-parser) >= 5.0 with php-composer(nikic/php-parser) < 6)
# remirepo:3
%else
-Requires: php-nikic-php-parser4
+Requires: php-nikic-php-parser5
%endif
# From phpcompatifo report for 0.3.2
Requires: php-reflection
@@ -95,7 +95,7 @@ phpab \
cat << 'EOF' | tee -a src/autoload.php
\Fedora\Autoloader\Dependencies::required([
- '/usr/share/php/PhpParser4/autoload.php',
+ '/usr/share/php/PhpParser5/autoload.php',
]);
EOF
@@ -139,6 +139,10 @@ exit $ret
%changelog
+* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 0.5.0-1
+- update to 0.5.0
+- raise dependency on nikic/php-parser 5.0
+
* Mon Sep 4 2023 Remi Collet <remi@remirepo.net> - 0.4.0-1
- update to 0.4.0
- raise dependency on PHP 7.4