diff options
Diffstat (limited to 'php-pear-PHP-CodeSniffer.spec')
-rw-r--r-- | php-pear-PHP-CodeSniffer.spec | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec index 1713f52..c9634ba 100644 --- a/php-pear-PHP-CodeSniffer.spec +++ b/php-pear-PHP-CodeSniffer.spec @@ -16,9 +16,9 @@ %bcond_without tests -%global gh_commit 14f5fff1e64118595db5408e946f3a22c75807f7 +%global gh_commit d63cee4890a8afaf86a22e51ad4d97c91dd4579b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_date 2024-01-10 +%global gh_date 2024-02-17 %global gh_owner PHPCSStandards %global gh_project PHP_CodeSniffer # keep in old PEAR tree @@ -26,7 +26,7 @@ Name: php-pear-PHP-CodeSniffer -Version: 3.8.1 +Version: 3.9.0 Release: 1%{?dist} Summary: PHP coding standards enforcement tool @@ -38,7 +38,6 @@ Source1: makesrc.sh # RPM installation path Patch0: %{name}-rpm.patch -Patch1: 0001-skip-tests-requiring-git-repository.patch BuildArch: noarch BuildRequires: php(language) >= 5.4 @@ -83,7 +82,6 @@ certain standards, such as PEAR, or user-defined. %prep %setup -q -n %{gh_project}-%{gh_commit} %patch -P0 -p1 -b .rpm -%patch -P1 -p1 -b .nogit %build @@ -116,12 +114,12 @@ YEAR=$(date +%Y) sed -e "/@copyright/s/2021/${YEAR}/" \ -i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed -# Version 3.6.2: Tests: 1327, Assertions: 8476, Skipped: 8. +# Version 3.9.0: Tests: 2276, Assertions: 10969, Warnings: 4, Skipped: 12. ret=0 for cmdarg in "php %{phpunit}" php81 php82 php83; do if which $cmdarg; then set $cmdarg - $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \ + $1 -d memory_limit=-1 ${2:-%{_bindir}/phpunit9} \ || ret=1 fi done @@ -146,6 +144,10 @@ fi %changelog +* Sat Feb 17 2024 Remi Collet <remi@remirepo.net> - 3.9.0-1 +- update to 3.9.0 +- drop patch merged upstream + * Fri Jan 12 2024 Remi Collet <remi@remirepo.net> - 3.8.1-1 - update to 3.8.1 - add patch for test suite from |