summaryrefslogtreecommitdiffstats
path: root/php-pear-PHP-CodeSniffer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear-PHP-CodeSniffer.spec')
-rw-r--r--php-pear-PHP-CodeSniffer.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec
index 63535ab..c6d24e2 100644
--- a/php-pear-PHP-CodeSniffer.spec
+++ b/php-pear-PHP-CodeSniffer.spec
@@ -13,7 +13,7 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
-Version: 3.4.2
+Version: 3.5.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@@ -96,9 +96,12 @@ install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}
+# fails with js: Couldn't read source file
+rm src/Standards/Generic/Tests/Debug/JSHintUnitTest.*
+
# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
ret=0
-for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
+for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} --verbose || ret=1
@@ -129,6 +132,9 @@ fi
%changelog
+* Fri Sep 27 2019 Remi Collet <remi@remirepo.net> - 3.5.0-1
+- update to 3.5.0
+
* Thu Apr 11 2019 Remi Collet <remi@remirepo.net> - 3.4.2-1
- update to 3.4.2