summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json10
-rw-r--r--php-phpunit-php-code-coverage5.spec47
2 files changed, 34 insertions, 23 deletions
diff --git a/composer.json b/composer.json
index f9bd51b..5eec7a3 100644
--- a/composer.json
+++ b/composer.json
@@ -24,12 +24,12 @@
"php": "^7.0",
"ext-dom": "*",
"ext-xmlwriter": "*",
- "phpunit/php-file-iterator": "^1.3",
+ "phpunit/php-file-iterator": "^1.4.2",
"phpunit/php-token-stream": "^1.4.11 || ^2.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/code-unit-reverse-lookup": "^1.0",
+ "phpunit/php-text-template": "^1.2.1",
+ "sebastian/code-unit-reverse-lookup": "^1.0.1",
"sebastian/environment": "^3.0",
- "sebastian/version": "^2.0",
+ "sebastian/version": "^2.0.1",
"theseer/tokenizer": "^1.1"
},
"require-dev": {
@@ -37,7 +37,7 @@
"ext-xdebug": "^2.5"
},
"suggest": {
- "ext-xdebug": "^2.5.3"
+ "ext-xdebug": "^2.5.5"
},
"autoload": {
"classmap": [
diff --git a/php-phpunit-php-code-coverage5.spec b/php-phpunit-php-code-coverage5.spec
index fb724ca..4602b1d 100644
--- a/php-phpunit-php-code-coverage5.spec
+++ b/php-phpunit-php-code-coverage5.spec
@@ -9,7 +9,7 @@
%global bootstrap 0
# Github
-%global gh_commit dc421f9ca5082a0c0cb04afb171c765f79add85b
+%global gh_commit 8ed1902a57849e117b5651fc1a5c48110946c06b
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -23,7 +23,7 @@
%global php_home %{_datadir}/php
%global ver_major 5
%global ver_minor 2
-%global ver_patch 1
+%global ver_patch 2
%global specrel 1
%if %{bootstrap}
%global with_tests 0%{?_with_tests:1}
@@ -53,56 +53,56 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
%if %{with_tests}
BuildRequires: php(language) >= 7.0
BuildRequires: php-composer(phpunit/php-file-iterator) < 2
-BuildRequires: php-composer(phpunit/php-file-iterator) >= 1.3
+BuildRequires: php-composer(phpunit/php-file-iterator) >= 1.4.2
BuildRequires: php-composer(phpunit/php-token-stream) < 2
BuildRequires: php-composer(phpunit/php-token-stream) >= 1.4.11
BuildRequires: php-composer(phpunit/php-text-template) < 2
-BuildRequires: php-composer(phpunit/php-text-template) >= 1.2
+BuildRequires: php-composer(phpunit/php-text-template) >= 1.2.1
BuildRequires: php-composer(sebastian/code-unit-reverse-lookup) < 2
-BuildRequires: php-composer(sebastian/code-unit-reverse-lookup) >= 1.0
+BuildRequires: php-composer(sebastian/code-unit-reverse-lookup) >= 1.0.1
BuildRequires: php-composer(sebastian/environment) < 4
BuildRequires: php-composer(sebastian/environment) >= 3.0
BuildRequires: php-composer(sebastian/version) < 3
-BuildRequires: php-composer(sebastian/version) >= 2.0
+BuildRequires: php-composer(sebastian/version) >= 2.0.1
BuildRequires: php-composer(theseer/tokenizer) < 2
BuildRequires: php-composer(theseer/tokenizer) >= 1.1
# From composer.json, "require-dev": {
# "phpunit/phpunit": "^6.0",
-# "ext-xdebug": "^2.5.3"
+# "ext-xdebug": "^2.5.5"
BuildRequires: phpunit6
-BuildRequires: php-pecl-xdebug >= 2.5.3
+BuildRequires: php-pecl-xdebug >= 2.5.5
%endif
# From composer.json, require
# "php": "^7.0",
# "ext-dom": "*",
# "ext-xmlwriter": "*",
-# "phpunit/php-file-iterator": "^1.3",
+# "phpunit/php-file-iterator": "^1.4.2",
# "phpunit/php-token-stream": "^1.4.11 || ^2.0",
-# "phpunit/php-text-template": "^1.2",
-# "sebastian/code-unit-reverse-lookup": "^1.0",
+# "phpunit/php-text-template": "^1.2.1",
+# "sebastian/code-unit-reverse-lookup": "^1.0.1",
# "sebastian/environment": "^3.0",
-# "sebastian/version": "^2.0",
+# "sebastian/version": "^2.0.1",
# "theseer/tokenizer": "^1.1"
Requires: php(language) >= 7.0
Requires: php-dom
Requires: php-xmlwriter
Requires: php-composer(phpunit/php-file-iterator) < 2
-Requires: php-composer(phpunit/php-file-iterator) >= 1.3
+Requires: php-composer(phpunit/php-file-iterator) >= 1.4.2
Requires: php-composer(phpunit/php-token-stream) < 2
Requires: php-composer(phpunit/php-token-stream) >= 1.4.11
Requires: php-composer(phpunit/php-text-template) < 2
-Requires: php-composer(phpunit/php-text-template) >= 1.2
+Requires: php-composer(phpunit/php-text-template) >= 1.2.1
Requires: php-composer(sebastian/code-unit-reverse-lookup) < 2
-Requires: php-composer(sebastian/code-unit-reverse-lookup) >= 1.0
+Requires: php-composer(sebastian/code-unit-reverse-lookup) >= 1.0.1
Requires: php-composer(sebastian/environment) < 4
Requires: php-composer(sebastian/environment) >= 3.0
Requires: php-composer(sebastian/version) < 3
-Requires: php-composer(sebastian/version) >= 2.0
+Requires: php-composer(sebastian/version) >= 2.0.1
Requires: php-composer(theseer/tokenizer) < 2
Requires: php-composer(theseer/tokenizer) >= 1.1
# From composer.json, suggest
-# "ext-xdebug": ">=2.4.0",
+# "ext-xdebug": ">=2.5.5",
# From phpcompatinfo report for version 5.0.0
Requires: php-reflection
Requires: php-date
@@ -187,7 +187,11 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/');
EOF
ret=0
-for cmd in php70 php71 php; do
+# TODO: PHP 7.2
+# 1) SebastianBergmann\CodeCoverage\Report\Html\HTMLTest::testForBankAccountTest
+# count(): Parameter must be an array or an object that implements Countable
+
+for cmd in php php70 php71; do
if which $cmd; then
$cmd $EXT -d include_path=.:%{buildroot}%{php_home}:%{php_home} \
%{_bindir}/phpunit6 --no-coverage --verbose || ret=1
@@ -207,6 +211,13 @@ exit $ret
%changelog
+* Fri Aug 4 2017 Remi Collet <remi@remirepo.net> - 5.2.2-1
+- Update to 5.2.2
+- raise dependency on phpunit/php-file-iterator 1.4.2
+- raise dependency on phpunit/php-text-template 1.2.1
+- raise dependency on sebastian/code-unit-reverse-lookup 1.0.1
+- raise dependency on sebastian/version 2.0.1
+
* Sun Apr 23 2017 Remi Collet <remi@remirepo.net> - 5.2.1-1
- Update to 5.2.1
- raise dependency on sebastian/environment >= 3.0