diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-08 07:22:06 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-08 07:22:06 +0100 |
commit | 8523d9487d2de3953bb0b6e2f91aec8eb12bb70e (patch) | |
tree | 9ce5f33eea97ec001aa6a7cba65b2b645d7612af | |
parent | 5b1bcb5c26dba9492de1664866c42fa85dfc53cf (diff) |
update to 5.2.0
-rw-r--r-- | composer.json | 11 | ||||
-rw-r--r-- | php-phpmyadmin-motranslator5.spec | 12 |
2 files changed, 15 insertions, 8 deletions
diff --git a/composer.json b/composer.json index 5cd8e2c..8a1c0c5 100644 --- a/composer.json +++ b/composer.json @@ -16,11 +16,13 @@ "source": "https://github.com/phpmyadmin/motranslator" }, "scripts": { - "phpcbf": "phpcbf", - "phpcs": "phpcs", - "phpunit": "phpunit --color=always", + "phpcbf": "./vendor/bin/phpcbf", + "phpcs": "./vendor/bin/phpcs", + "phpstan": "./vendor/bin/phpstan analyse", + "phpunit": "./vendor/bin/phpunit --color=always", "test": [ "@phpcs", + "@phpstan", "@phpunit" ] }, @@ -30,7 +32,8 @@ }, "require-dev": { "phpunit/phpunit": "^7.4 || ^8 || ^9", - "phpmyadmin/coding-standard": "^2.0" + "phpmyadmin/coding-standard": "^2.1.1", + "phpstan/phpstan": "^0.12.56" }, "autoload": { "psr-4": { diff --git a/php-phpmyadmin-motranslator5.spec b/php-phpmyadmin-motranslator5.spec index d810d45..1af035e 100644 --- a/php-phpmyadmin-motranslator5.spec +++ b/php-phpmyadmin-motranslator5.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-phpmyadmin-motranslator5 # -# Copyright (c) 2017-2020 Remi Collet +# Copyright (c) 2017-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit a2b3978915a2b5fcfd6f83be300cff024bd0a682 +%global gh_commit cea68a8d0abf5e7fabc4179f07ef444223ddff44 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpmyadmin %global gh_project motranslator @@ -20,7 +20,7 @@ %global sym_max_ver 6 Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 5.1.0 +Version: 5.2.0 Release: 1%{?dist} Summary: Translation API for PHP using Gettext MO files @@ -42,7 +42,8 @@ BuildRequires: php-symfony4-expression-language %endif # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "^7.4 || ^8 || ^9", -# "phpmyadmin/coding-standard": "^2.0" +# "phpmyadmin/coding-standard": "^2.1.1", +# "phpstan/phpstan": "^0.12.56" %if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 %global phpunit %{_bindir}/phpunit9 BuildRequires: %{phpunit} @@ -150,6 +151,9 @@ exit $ret %changelog +* Mon Feb 8 2021 Remi Collet <remi@remirepo.net> - 5.2.0-1 +- update to 5.2.0 + * Mon Nov 16 2020 Remi Collet <remi@remirepo.net> - 5.1.0-1 - update to 5.1.0 - switch to phpunit9 |