diff options
-rw-r--r-- | composer.json | 7 | ||||
-rw-r--r-- | php-laminas-httphandlerrunner.spec | 13 |
2 files changed, 14 insertions, 6 deletions
diff --git a/composer.json b/composer.json index e056414..067bc88 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,9 @@ "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", "laminas/laminas-diactoros": "^2.1.1", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.6" }, "autoload": { "psr-4": { @@ -59,7 +61,8 @@ "cs-check": "phpcs", "cs-fix": "phpcbf", "test": "phpunit --colors=always", - "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml", + "static-analysis": "psalm --shepherd --stats" }, "replace": { "zendframework/zend-httphandlerrunner": "^1.1.0" diff --git a/php-laminas-httphandlerrunner.spec b/php-laminas-httphandlerrunner.spec index e147a32..ada29e5 100644 --- a/php-laminas-httphandlerrunner.spec +++ b/php-laminas-httphandlerrunner.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-laminas-httphandlerrunner # -# Copyright (c) 2020 Remi Collet +# Copyright (c) 2020-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit e8f850bd12cb82b268ff235fe74b2df906e8bfe8 +%global gh_commit 6a2dd33e4166469ade07ad1283b45924383b224b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-httphandlerrunner @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 1.3.0 +Version: 1.4.0 Release: 1%{?dist} Summary: %{namespace} Framework %{library} component @@ -43,7 +43,9 @@ BuildRequires: (php-composer(psr/http-server-handler) >= 1.0 # From composer, "require-dev": { # "laminas/laminas-coding-standard": "~1.0.0", # "laminas/laminas-diactoros": "^2.1.1", -# "phpunit/phpunit": "^9.3" +# "phpunit/phpunit": "^9.3", +# "psalm/plugin-phpunit": "^0.15.1", +# "vimeo/psalm": "^4.6" BuildRequires: (php-autoloader(%{gh_owner}/laminas-diactoros) >= 2.1.1 with php-autoloader(%{gh_owner}/laminas-diactoros) < 3) # remirepo:6 %else @@ -186,6 +188,9 @@ exit $ret %changelog +* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 1.4.0-1 +- update to 1.4.0 + * Mon Nov 23 2020 Remi Collet <remi@remirepo.net> - 1.3.0-1 - update to 1.3.0 (no change) - raise dependency on PHP 7.3 |