|
|
@ -13,7 +13,7 @@
|
|
|
|
%global pear_name PHP_CodeSniffer
|
|
|
|
%global pear_name PHP_CodeSniffer
|
|
|
|
|
|
|
|
|
|
|
|
Name: php-pear-PHP-CodeSniffer
|
|
|
|
Name: php-pear-PHP-CodeSniffer
|
|
|
|
Version: 3.6.1
|
|
|
|
Version: 3.6.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: PHP coding standards enforcement tool
|
|
|
|
Summary: PHP coding standards enforcement tool
|
|
|
|
|
|
|
|
|
|
|
@ -94,9 +94,9 @@ YEAR=$(date +%Y)
|
|
|
|
sed -e "/@copyright/s/2020/${YEAR}/" \
|
|
|
|
sed -e "/@copyright/s/2020/${YEAR}/" \
|
|
|
|
-i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed
|
|
|
|
-i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed
|
|
|
|
|
|
|
|
|
|
|
|
# Version 3.6.0: Tests: 1183, Assertions: 8128, Skipped: 8.
|
|
|
|
# Version 3.6.2: Tests: 1327, Assertions: 8476, Skipped: 8.
|
|
|
|
ret=0
|
|
|
|
ret=0
|
|
|
|
for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do
|
|
|
|
for cmdarg in "php %{phpunit}" php74 php80 php81; do
|
|
|
|
if which $cmdarg; then
|
|
|
|
if which $cmdarg; then
|
|
|
|
set $cmdarg
|
|
|
|
set $cmdarg
|
|
|
|
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
|
|
|
|
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
|
|
|
@ -128,6 +128,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 14 2021 Remi Collet <remi@remirepo.net> - 3.6.2-1
|
|
|
|
|
|
|
|
- update to 3.6.2
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Remi Collet <remi@remirepo.net> - 3.6.1-1
|
|
|
|
* Mon Oct 11 2021 Remi Collet <remi@remirepo.net> - 3.6.1-1
|
|
|
|
- update to 3.6.1
|
|
|
|
- update to 3.6.1
|
|
|
|
|
|
|
|
|
|
|
|