From cf0a730c5f91079583575e0b18fd33efe4922e0b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Sep 2022 09:31:06 +0200 Subject: update to 2.0.5 --- composer.json | 17 +++++++++++------ php-doctrine-inflector2.spec | 13 ++++++++----- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index f08fdc3..87da3e2 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, "autoload": { "psr-4": { @@ -32,5 +32,10 @@ "psr-4": { "Doctrine\\Tests\\Inflector\\": "tests/Doctrine/Tests/Inflector" } + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } } } diff --git a/php-doctrine-inflector2.spec b/php-doctrine-inflector2.spec index 052eb54..a3dc802 100644 --- a/php-doctrine-inflector2.spec +++ b/php-doctrine-inflector2.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-inflector2 # -# Copyright (c) 2013-2021 Shawn Iwinski, Remi Collet +# Copyright (c) 2013-2022 Shawn Iwinski, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -10,9 +10,9 @@ %global github_owner doctrine %global github_name inflector -%global github_version 2.0.4 +%global github_version 2.0.5 %global major 2 -%global github_commit 8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89 +%global github_commit ade2b3bbfb776f27f0558e26eed43b5d9fe1b392 %global composer_vendor doctrine %global composer_project inflector @@ -42,7 +42,7 @@ BuildArch: noarch # Tests %if %{with_tests} ## composer.json -BuildRequires: phpunit9 +BuildRequires: phpunit9 >= 9.5 BuildRequires: php(language) >= %{php_min_ver} ## phpcompatinfo (computed from version 2.0.1) BuildRequires: php-mbstring @@ -96,7 +96,7 @@ BOOTSTRAP : Upstream tests RETURN_CODE=0 -for PHP_EXEC in "" php73 php74 php80 php81; do +for PHP_EXEC in "" php74 php80 php81 php82; do if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then phpunit9 --verbose --bootstrap bootstrap.php \ || RETURN_CODE=1 @@ -119,6 +119,9 @@ exit $RETURN_CODE %changelog +* Fri Sep 9 2022 Remi Collet - 2.0.5-1 +- update to 2.0.5 + * Mon Oct 25 2021 Remi Collet - 2.0.4-1 - update to 2.0.4 - switch to phpunit9 -- cgit