|
|
@ -13,8 +13,8 @@
|
|
|
|
%global pear_name PHP_CodeSniffer
|
|
|
|
%global pear_name PHP_CodeSniffer
|
|
|
|
|
|
|
|
|
|
|
|
Name: php-pear-PHP-CodeSniffer
|
|
|
|
Name: php-pear-PHP-CodeSniffer
|
|
|
|
Version: 3.5.8
|
|
|
|
Version: 3.6.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: PHP coding standards enforcement tool
|
|
|
|
Summary: PHP coding standards enforcement tool
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
@ -94,10 +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.4.0: Tests: 364, Assertions: 419, Skipped: 3.
|
|
|
|
# Version 3.6.0: Tests: 1183, Assertions: 8128, Skipped: 8.
|
|
|
|
ret=0
|
|
|
|
ret=0
|
|
|
|
# TODO php80
|
|
|
|
for cmdarg in "php %{phpunit}" php73 php74 php80; do
|
|
|
|
for cmdarg in "php %{phpunit}" php71 php72 php73 php74; 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} \
|
|
|
@ -129,6 +128,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
|
|
|
|
|
|
|
|
- update to 3.6.0
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 3.5.8-2
|
|
|
|
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 3.5.8-2
|
|
|
|
- fix test relying on current year, fix FTBFS #1923570
|
|
|
|
- fix test relying on current year, fix FTBFS #1923570
|
|
|
|
|
|
|
|
|
|
|
|