f38 imports/e9/php-pear-PHP-CodeSniffer-3.7.2-1.el9
Remi Collet 2 years ago
parent 9c41fc23a3
commit b3c46d8f00

1
.gitignore vendored

@ -43,3 +43,4 @@ clog
/PHP_CodeSniffer-3.6.2.tgz /PHP_CodeSniffer-3.6.2.tgz
/PHP_CodeSniffer-3.7.0.tgz /PHP_CodeSniffer-3.7.0.tgz
/PHP_CodeSniffer-3.7.1.tgz /PHP_CodeSniffer-3.7.1.tgz
/PHP_CodeSniffer-3.7.2.tgz

@ -1,6 +1,6 @@
# spec file for php-pear-PHP-CodeSniffer # spec file for php-pear-PHP-CodeSniffer
# #
# Copyright (c) 2013-2022 Remi Collet # Copyright (c) 2013-2023 Remi Collet
# Copyright (c) 2009-2013 Christof Damian # Copyright (c) 2009-2013 Christof Damian
# Copyright (c) 2006-2009 Konstantin Ryabitsev # Copyright (c) 2006-2009 Konstantin Ryabitsev
# #
@ -13,11 +13,11 @@
%global pear_name PHP_CodeSniffer %global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer Name: php-pear-PHP-CodeSniffer
Version: 3.7.1 Version: 3.7.2
Release: 3%{?dist} Release: 1%{?dist}
Summary: PHP coding standards enforcement tool Summary: PHP coding standards enforcement tool
License: BSD License: BSD 3-Clause
URL: http://pear.php.net/package/PHP_CodeSniffer URL: http://pear.php.net/package/PHP_CodeSniffer
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
@ -96,11 +96,17 @@ sed -e "/@copyright/s/2021/${YEAR}/" \
# Version 3.6.2: Tests: 1327, Assertions: 8476, Skipped: 8. # Version 3.6.2: Tests: 1327, Assertions: 8476, Skipped: 8.
ret=0 ret=0
for cmdarg in "php %{phpunit}" php74 php80 php81; do for cmdarg in "php %{phpunit}" php80 php81 php82; do
if which $cmdarg; then if which $cmdarg; then
set $cmdarg set $cmdarg
if [ $($1 -r 'echo PHP_VERSION_ID;') -ge 80200 ]; then
# failing upstream
FILTER="--filter '^((?!(testNotReadonly)).)*$'"
else
FILTER=""
fi
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \ $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
--verbose || ret=1 $FILTER || ret=1
fi fi
done done
exit $ret exit $ret
@ -128,6 +134,9 @@ fi
%changelog %changelog
* Thu Feb 23 2023 Remi Collet <remi@remirepo.net> - 3.7.2-1
- update to 3.7.2
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

@ -1 +1 @@
SHA512 (PHP_CodeSniffer-3.7.1.tgz) = e0627a2c5deed3be3c6179b722daa3380f0c6f42d4570aaa0f98265be9b174eb3ac641769ba3b9fe7e10d3c386f0ed6f2ebe659b44095af332cc02fd90dd22d0 SHA512 (PHP_CodeSniffer-3.7.2.tgz) = 3d59e07998baea3f2da3a839e7d04486154c7249f7e8306ac5b900826878b58ccbe4fc31469645ca1c1c9b250522f151ec7b4d99d6d66e3f46f0a3c5eb786d6c

Loading…
Cancel
Save