From b3c46d8f0099953f5630e541cb043d4ef4b24525 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Feb 2023 10:11:54 +0100 Subject: [PATCH] v3.7.2 --- .gitignore | 1 + php-pear-PHP-CodeSniffer.spec | 21 +++++++++++++++------ sources | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index eb4f886..52ff25a 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ clog /PHP_CodeSniffer-3.6.2.tgz /PHP_CodeSniffer-3.7.0.tgz /PHP_CodeSniffer-3.7.1.tgz +/PHP_CodeSniffer-3.7.2.tgz diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec index 14affa4..ee21f2a 100644 --- a/php-pear-PHP-CodeSniffer.spec +++ b/php-pear-PHP-CodeSniffer.spec @@ -1,6 +1,6 @@ # 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) 2006-2009 Konstantin Ryabitsev # @@ -13,11 +13,11 @@ %global pear_name PHP_CodeSniffer Name: php-pear-PHP-CodeSniffer -Version: 3.7.1 -Release: 3%{?dist} +Version: 3.7.2 +Release: 1%{?dist} Summary: PHP coding standards enforcement tool -License: BSD +License: BSD 3-Clause URL: http://pear.php.net/package/PHP_CodeSniffer 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. ret=0 -for cmdarg in "php %{phpunit}" php74 php80 php81; do +for cmdarg in "php %{phpunit}" php80 php81 php82; do if which $cmdarg; then 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} \ - --verbose || ret=1 + $FILTER || ret=1 fi done exit $ret @@ -128,6 +134,9 @@ fi %changelog +* Thu Feb 23 2023 Remi Collet - 3.7.2-1 +- update to 3.7.2 + * Fri Jan 20 2023 Fedora Release Engineering - 3.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 00f4a0c..29db81d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (PHP_CodeSniffer-3.7.1.tgz) = e0627a2c5deed3be3c6179b722daa3380f0c6f42d4570aaa0f98265be9b174eb3ac641769ba3b9fe7e10d3c386f0ed6f2ebe659b44095af332cc02fd90dd22d0 +SHA512 (PHP_CodeSniffer-3.7.2.tgz) = 3d59e07998baea3f2da3a839e7d04486154c7249f7e8306ac5b900826878b58ccbe4fc31469645ca1c1c9b250522f151ec7b4d99d6d66e3f46f0a3c5eb786d6c