From 031b61aa97bf768b580baeb45a33fcaeb30b84f9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Dec 2022 10:57:23 +0100 Subject: update to 2.13.0 --- composer.json | 28 ++++++++++------------------ php-laminas-server.spec | 25 +++++++++++++------------ 2 files changed, 23 insertions(+), 30 deletions(-) diff --git a/composer.json b/composer.json index 83f07d9..1b18fae 100644 --- a/composer.json +++ b/composer.json @@ -16,28 +16,24 @@ "forum": "https://discourse.laminas.dev" }, "config": { - "sort-packages": true, - "platform": { - "php": "8.0.99" - }, "allow-plugins": { - "composer/package-versions-deprecated": true, "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "extra": { + }, + "platform": { + "php": "7.4.99" + }, + "sort-packages": true }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "^7.4 || ~8.0.0 || ~8.1.0", "laminas/laminas-code": "^3.5.1 || ^4.0.0", - "laminas/laminas-stdlib": "^3.3.1", - "laminas/laminas-zendframework-bridge": "^1.2.0" + "laminas/laminas-stdlib": "^3.3.1" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "^2.1.4", "phpunit/phpunit": "^9.5.5", - "psalm/plugin-phpunit": "^0.15.1", - "vimeo/psalm": "^4.6.4" + "psalm/plugin-phpunit": "^0.18.0", + "vimeo/psalm": "^5.0.0" }, "autoload": { "psr-4": { @@ -49,7 +45,6 @@ "LaminasTest\\Server\\": "test/" }, "files": [ - "test/Reflection/TestAsset/functions.php", "test/TestAsset/reflectionTestFunction.php" ] }, @@ -63,8 +58,5 @@ "static-analysis": "psalm --shepherd --stats", "test": "phpunit --colors=always", "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" - }, - "replace": { - "zendframework/zend-server": "^2.8.1" } } diff --git a/php-laminas-server.spec b/php-laminas-server.spec index 15a464f..9655117 100644 --- a/php-laminas-server.spec +++ b/php-laminas-server.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit c249f0638c8bdd67305509b7173bd535c21d109d +%global gh_commit 572ce4194cb9024a06be2964d5be8c628a93ee66 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-server @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 2.12.0 +Version: 2.13.0 Release: 1%{?dist} Summary: Laminas Framework %{library} component @@ -34,15 +34,15 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 8.0 +BuildRequires: php(language) >= 7.4 BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-reflection # From composer, "require-dev": { -# "laminas/laminas-coding-standard": "~1.0.0", +# "laminas/laminas-coding-standard": "~2.1.4", # "phpunit/phpunit": "^9.5.5", -# "psalm/plugin-phpunit": "^0.15.1", -#+ "vimeo/psalm": "^4.6.4" +# "psalm/plugin-phpunit": "^0.18.0", +#+ "vimeo/psalm": "^5.0.0" # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-autoloader(%{gh_owner}/laminas-code) >= 3.5.1 with php-autoloader(%{gh_owner}/laminas-code) < 5) @@ -61,11 +61,10 @@ BuildRequires: phpunit9 >= 9.5.5 BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "~8.0.0 || ~8.1.0 || ~8.2.0", +# "php": "^7.4 || ~8.0.0 || ~8.1.0", # "laminas/laminas-code": "^3.5.1 || ^4.0.0", -# "laminas/laminas-stdlib": "^3.3.1", -# "laminas/laminas-zendframework-bridge": "^1.2.0" -Requires: php(language) >= 8.0 +# "laminas/laminas-stdlib": "^3.3.1" +Requires: php(language) >= 7.4 %if ! %{bootstrap} # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -154,7 +153,6 @@ cat << 'EOF' | tee vendor/autoload.php - 2.13.0-1 +- update to 2.13.0 + * Wed Nov 16 2022 Remi Collet - 2.12.0-1 - update to 2.12.0 (no change) - raise dependency on PHP 8.0 -- cgit