summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pear-PHP-CodeSniffer.spec12
1 files changed, 7 insertions, 5 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec
index 8de7629..d236348 100644
--- a/php-pear-PHP-CodeSniffer.spec
+++ b/php-pear-PHP-CodeSniffer.spec
@@ -13,8 +13,8 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
-Version: 3.5.8
-Release: 2%{?dist}
+Version: 3.6.0
+Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
License: BSD
@@ -100,10 +100,9 @@ YEAR=$(date +%Y)
sed -e "/@copyright/s/2020/${YEAR}/" \
-i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed
-# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
+# Version 3.6.0: Tests: 1183, Assertions: 8128, Skipped: 8.
ret=0
-# TODO php80
-for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
+for cmdarg in "php %{phpunit}" php73 php74 php80; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
@@ -135,6 +134,9 @@ fi
%changelog
+* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
+- update to 3.6.0
+
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 3.5.8-2
- fix test relying on current year, fix FTBFS #1923570