From c115580d6a48d3120d042dcf5d68f2afc74cfb38 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 10 Sep 2019 13:45:10 +0200 Subject: v2.11.0 --- composer.json | 6 ++++-- makesrc.sh | 1 + php-doctrine-common.spec | 16 ++++++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) create mode 120000 makesrc.sh diff --git a/composer.json b/composer.json index ee0f15a..ea158a2 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,9 @@ "doctrine/persistence": "^1.1" }, "require-dev": { - "phpunit/phpunit": "^6.3", + "phpstan/phpstan": "^0.11", + "phpstan/phpstan-phpunit": "^0.11", + "phpunit/phpunit": "^7.0", "doctrine/coding-standard": "^1.0", "squizlabs/php_codesniffer": "^3.0", "symfony/phpunit-bridge": "^4.0.5" @@ -46,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.10.x-dev" + "dev-master": "2.11.x-dev" } } } diff --git a/makesrc.sh b/makesrc.sh new file mode 120000 index 0000000..d95a228 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1 @@ +php-doctrine-common-get-source.sh \ No newline at end of file diff --git a/php-doctrine-common.spec b/php-doctrine-common.spec index c7d6dc9..338b462 100644 --- a/php-doctrine-common.spec +++ b/php-doctrine-common.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-doctrine-common # -# Copyright (c) 2013-2018 Shawn Iwinski +# Copyright (c) 2013-2019 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner doctrine %global github_name common -%global github_version 2.10.0 -%global github_commit 30e33f60f64deec87df728c02b107f82cdafad9d +%global github_version 2.11.0 +%global github_commit b8ca1dcf6b0dc8a2af7a09baac8d0c48345df4ff %global composer_vendor doctrine %global composer_project common @@ -106,7 +106,7 @@ BuildRequires: php-composer(doctrine/reflection) < %{doctrine_refl_max_ver} BuildRequires: php-composer(doctrine/persistence) >= %{doctrine_pers_min_ver} BuildRequires: php-composer(doctrine/persistence) < %{doctrine_pers_max_ver} %endif -BuildRequires: phpunit6 >= 6.3 +BuildRequires: phpunit7 ## phpcompatinfo (computed from version 2.8.1) BuildRequires: php-date BuildRequires: php-pcre @@ -222,9 +222,9 @@ sed "s#require.*autoload.*#require_once '%{buildroot}%{phpdir}/Doctrine/Common/a : Upstream tests RETURN_CODE=0 -for PHP_EXEC in "" php71 php72 php73; do +for PHP_EXEC in "" php71 php72 php73 php74; do if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then - $PHP_EXEC %{_bindir}/phpunit6 --verbose || RETURN_CODE=1 + $PHP_EXEC %{_bindir}/phpunit7 --verbose || RETURN_CODE=1 fi done exit $RETURN_CODE @@ -245,6 +245,10 @@ exit $RETURN_CODE %changelog +* Tue Sep 10 2019 Remi Collet - 2.11.0-1 +- update to 2.11.0 +- switch to phpunit7 + * Thu Nov 22 2018 Remi Collet - 2.10.0-1 - update to 2.10.0 - raise dependency on doctrine/persistence 1.1 -- cgit