From 0e6eb64f562dbd5e352021769942c48d34c4cb26 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Oct 2022 14:14:37 +0200 Subject: update to 1.9.0 raise dependency on PHP 8.0 --- composer.json | 17 ++++++++++------- php-laminas-mvc-plugin-flashmessenger.spec | 30 +++++++++++++++++------------- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index 9242e97..611caf1 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,10 @@ "config": { "sort-packages": true, "platform": { - "php": "7.4.99" + "php": "8.0.99" + }, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true } }, "extra": { @@ -27,18 +30,18 @@ } }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "laminas/laminas-mvc": "^3.3", "laminas/laminas-session": "^2.12.0", "laminas/laminas-stdlib": "^3.6.4", "laminas/laminas-view": "^2.13.1" }, "require-dev": { - "laminas/laminas-coding-standard": "~2.3.0", - "laminas/laminas-i18n": "^2.13.0", - "phpunit/phpunit": "^9.5.4", - "psalm/plugin-phpunit": "^0.16.1", - "vimeo/psalm": "^4.18" + "laminas/laminas-coding-standard": "~2.4.0", + "laminas/laminas-i18n": "^2.19.0", + "phpunit/phpunit": "^9.5.25", + "psalm/plugin-phpunit": "^0.17.0", + "vimeo/psalm": "^4.29.0" }, "conflict": { "laminas/laminas-mvc": "<3.0.0", diff --git a/php-laminas-mvc-plugin-flashmessenger.spec b/php-laminas-mvc-plugin-flashmessenger.spec index c60328c..1812578 100644 --- a/php-laminas-mvc-plugin-flashmessenger.spec +++ b/php-laminas-mvc-plugin-flashmessenger.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 7293ba47e068304e3c1cacd4013ac2e615f96625 +%global gh_commit dc73bb6b56a0d74f9fdc0d24ec55a5f8c87c4cfa %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-mvc-plugin-flashmessenger @@ -24,7 +24,7 @@ %endif Name: php-%{gh_project} -Version: 1.8.1 +Version: 1.9.0 Release: 1%{?dist} Summary: %{namespace} Framework %{library}/%{subproj}/%{subsubp} component @@ -36,7 +36,7 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 8.0 BuildRequires: php-spl # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -46,12 +46,12 @@ BuildRequires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.6. BuildRequires: (php-autoloader(%{gh_owner}/laminas-view) >= 2.13.1 with php-autoloader(%{gh_owner}/laminas-view) < 3) BuildRequires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-autoloader(%{gh_owner}/laminas-zendframework-bridge) < 2) # From composer, "require-dev": { -# "laminas/laminas-coding-standard": "~2.3.0", -# "laminas/laminas-i18n": "^2.13.0", -# "phpunit/phpunit": "^9.5.4", -# "psalm/plugin-phpunit": "^0.16.1", -# "vimeo/psalm": "^4.18" -BuildRequires: (php-autoloader(%{gh_owner}/laminas-i18n) >= 2.13.0 with php-autoloader(%{gh_owner}/laminas-i18n) < 3) +# "laminas/laminas-coding-standard": "~2.4.0", +# "laminas/laminas-i18n": "^2.19.0", +# "phpunit/phpunit": "^9.5.25", +# "psalm/plugin-phpunit": "^0.17.0", +# "vimeo/psalm": "^4.29.0" +BuildRequires: (php-autoloader(%{gh_owner}/laminas-i18n) >= 2.19 with php-autoloader(%{gh_owner}/laminas-i18n) < 3) # remirepo:8 %else BuildRequires: php-laminas-mvc @@ -62,18 +62,18 @@ BuildRequires: php-laminas-zendframework-bridge BuildRequires: php-laminas-i18n %endif %global phpunit %{_bindir}/phpunit9 -BuildRequires: phpunit9 >= 9.5.4 +BuildRequires: phpunit9 >= 9.5.25 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "^7.4 || ~8.0.0 || ~8.1.0", +# "php": "~8.0.0 || ~8.1.0 || ~8.2.0", # "laminas/laminas-mvc": "^3.3", # "laminas/laminas-session": "^2.12.0", # "laminas/laminas-stdlib": "^3.6.4", # "laminas/laminas-view": "^2.13.1" -Requires: php(language) >= 7.4 +Requires: php(language) >= 8.0 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-autoloader(%{gh_owner}/laminas-mvc) >= 3.3 with php-autoloader(%{gh_owner}/laminas-mvc) < 4) @@ -176,7 +176,7 @@ exit (class_exists("\\Zend\\%{library}\\%{subproj}\\%{subsubp}\\Module") ? 0 : 1 : upstream test suite ret=0 -for cmdarg in "php %{phpunit}" php74 php80 php81 php82; do +for cmdarg in "php %{phpunit}" php80 php81 php82; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1 @@ -201,6 +201,10 @@ exit $ret %changelog +* Mon Oct 24 2022 Remi Collet - 1.9.0-1 +- update to 1.9.0 +- raise dependency on PHP 8.0 + * Wed Aug 3 2022 Remi Collet - 1.8.1-1 - update to 1.8.1 (no change) -- cgit