Remi Collet 4 years ago
parent 48662ea79f
commit 57592805ee

1
.gitignore vendored

@ -38,3 +38,4 @@ clog
/PHP_CodeSniffer-3.5.5.tgz
/PHP_CodeSniffer-3.5.6.tgz
/PHP_CodeSniffer-3.5.8.tgz
/PHP_CodeSniffer-3.6.0.tgz

@ -13,8 +13,8 @@
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
Version: 3.5.8
Release: 2%{?dist}
Version: 3.6.0
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
License: BSD
@ -94,10 +94,9 @@ YEAR=$(date +%Y)
sed -e "/@copyright/s/2020/${YEAR}/" \
-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
# TODO php80
for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
for cmdarg in "php %{phpunit}" php73 php74 php80; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
@ -129,6 +128,9 @@ fi
%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
- fix test relying on current year, fix FTBFS #1923570

@ -1 +1 @@
SHA512 (PHP_CodeSniffer-3.5.8.tgz) = 69ef3d86520f541f492c955bd8158664c78aac6ecd4550f2b996f59d882d91f1bec81da9bbd106edc35c4f1a4c260ef2d9a56ec257fc0b4044047b902403065e
SHA512 (PHP_CodeSniffer-3.6.0.tgz) = 09c98ac460c6dc70637d2f4d81a1e46bdf742ee14d0b56032e8dbcaf7a0ff03f3fdb1abdf8144f664a33298cf397c732ba62027bcee41f1f4f740d12fa29f6a8

Loading…
Cancel
Save