Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7d6109662 | ||
|
|
457f52fdbe |
3 changed files with 18 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -38,3 +38,5 @@ 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
|
||||
/PHP_CodeSniffer-3.6.1.tgz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# spec file for php-pear-PHP-CodeSniffer
|
||||
#
|
||||
# Copyright (c) 2013-2020 Remi Collet
|
||||
# Copyright (c) 2013-2021 Remi Collet
|
||||
# Copyright (c) 2009-2013 Christof Damian
|
||||
# Copyright (c) 2006-2009 Konstantin Ryabitsev
|
||||
#
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
%global pear_name PHP_CodeSniffer
|
||||
|
||||
Name: php-pear-PHP-CodeSniffer
|
||||
Version: 3.5.8
|
||||
Version: 3.6.1
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP coding standards enforcement tool
|
||||
|
||||
|
|
@ -89,10 +89,14 @@ cd %{pear_name}-%{version}
|
|||
# fails with js: Couldn't read source file
|
||||
rm src/Standards/Generic/Tests/Debug/JSHintUnitTest.*
|
||||
|
||||
# Version 3.4.0: Tests: 364, Assertions: 419, Skipped: 3.
|
||||
# Fix current date
|
||||
YEAR=$(date +%Y)
|
||||
sed -e "/@copyright/s/2020/${YEAR}/" \
|
||||
-i src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.*.fixed
|
||||
|
||||
# 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 php81; do
|
||||
if which $cmdarg; then
|
||||
set $cmdarg
|
||||
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
|
||||
|
|
@ -124,6 +128,12 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 11 2021 Remi Collet <remi@remirepo.net> - 3.6.1-1
|
||||
- update to 3.6.1
|
||||
|
||||
* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
|
||||
- update to 3.6.0
|
||||
|
||||
* Fri Oct 23 2020 Remi Collet <remi@remirepo.net> - 3.5.8-1
|
||||
- update to 3.5.8
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (PHP_CodeSniffer-3.5.8.tgz) = 69ef3d86520f541f492c955bd8158664c78aac6ecd4550f2b996f59d882d91f1bec81da9bbd106edc35c4f1a4c260ef2d9a56ec257fc0b4044047b902403065e
|
||||
SHA512 (PHP_CodeSniffer-3.6.1.tgz) = 4992a460494cf58e5731e10df216204842168465731c0d002b7913fbaa85370f01077f70c96b4390158fbcf52ee021650ab6f13609ea3133370b89f34c73343c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue