Remi Collet 5 years ago
parent 569de7526d
commit 85e1fddd33

1
.gitignore vendored

@ -30,3 +30,4 @@ clog
/PHP_CodeSniffer-3.4.0.tgz
/PHP_CodeSniffer-3.4.1.tgz
/PHP_CodeSniffer-3.4.2.tgz
/PHP_CodeSniffer-3.5.0.tgz

@ -13,8 +13,8 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
Version: 3.4.2
Release: 2%{?dist}
Version: 3.5.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
License: BSD
@ -86,9 +86,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
@ -119,6 +122,9 @@ fi
%changelog
* Fri Sep 27 2019 Remi Collet <remi@remirepo.net> - 3.5.0-1
- update to 3.5.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (PHP_CodeSniffer-3.4.2.tgz) = 6236e3f9899d8f4637314f359a8db44835140d0292ea02b56b5e2e55ea8739841648ee03c3f25bf4df64577237b6bc1c3d0999d5452b9f292ef019347ecd41f5
SHA512 (PHP_CodeSniffer-3.5.0.tgz) = 4990c4c02237d004af58af73fa09f2459cd0dae685afa2b01c42500b97135bd0fe9574290524a235e59e6ea225cebdb9537769dd4487c43cf8829a2cda6031c4

Loading…
Cancel
Save