Remi Collet 7 years ago
parent 7b2466ef47
commit 70e43dea61

1
.gitignore vendored

@ -24,3 +24,4 @@ clog
/PHP_CodeSniffer-3.2.1.tgz
/PHP_CodeSniffer-3.2.2.tgz
/PHP_CodeSniffer-3.2.3.tgz
/PHP_CodeSniffer-3.3.0.tgz

@ -13,7 +13,7 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
Version: 3.2.3
Version: 3.3.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@ -25,7 +25,7 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.4
BuildRequires: php-pear
# to run test suite
%if 0%{?fedora} >= 28
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%global phpunit %{_bindir}/phpunit7
%else
%global phpunit %{_bindir}/phpunit6
@ -92,7 +92,7 @@ cd %{pear_name}-%{version}
# Version 3.2.3: Tests: 294, Assertions: 320, Skipped: 3.
ret=0
for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72; do
for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} --verbose || ret=1
@ -123,6 +123,9 @@ fi
%changelog
* Thu Jun 7 2018 Remi Collet <remi@remirepo.net> - 3.3.0-1
- update to 3.3.0
* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 3.2.3-1
- Update to 3.2.3
- use phpunit7 on F28+

@ -1 +1 @@
SHA512 (PHP_CodeSniffer-3.2.3.tgz) = 42589a516e68d3dad3136ac32124954d19450e4125905e162c024062d604ecc1d0d0a2283882c6365952c6d88437ec195d16d81fcc23634e3f69f90b36433c28
SHA512 (PHP_CodeSniffer-3.3.0.tgz) = 0996a0837085e478f22042136108eaf8f3a3df96c0bed304aecce35c5da6c700b375dbbc6969bf1bc0fc43a81cf50c54c699bd3eb5b16f5806a2103c06654e9c

Loading…
Cancel
Save