Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Remi Collet
e8e50d657d v3.5.5
(cherry picked from commit de698e4878)
2020-04-20 08:01:39 +02:00
Remi Collet
91a429833f update to 3.5.4
fix test suite from
  https://github.com/squizlabs/PHP_CodeSniffer/pull/2847

(cherry picked from commit 3a852c4dbc)
(cherry picked from commit 11befcc79e)
2020-01-31 13:32:03 +01:00
Remi Collet
5bec9efe96 v3.5.3
(cherry picked from commit efb57d6a7c)
2019-12-04 09:44:35 +01:00
Remi Collet
02d439257c v3.5.2
(cherry picked from commit 0a72faa46c)
2019-10-28 09:45:48 +01:00
Remi Collet
7bb6286531 v3.5.1
(cherry picked from commit 740f1bf320)
2019-10-17 09:49:21 +02:00
Remi Collet
617f1a33d2 v3.5.0
(cherry picked from commit 85e1fddd33)
2019-09-27 07:50:51 +02:00
3 changed files with 39 additions and 5 deletions

6
.gitignore vendored
View file

@ -30,3 +30,9 @@ clog
/PHP_CodeSniffer-3.4.0.tgz
/PHP_CodeSniffer-3.4.1.tgz
/PHP_CodeSniffer-3.4.2.tgz
/PHP_CodeSniffer-3.5.0.tgz
/PHP_CodeSniffer-3.5.1.tgz
/PHP_CodeSniffer-3.5.2.tgz
/PHP_CodeSniffer-3.5.3.tgz
/PHP_CodeSniffer-3.5.4.tgz
/PHP_CodeSniffer-3.5.5.tgz

View file

@ -1,6 +1,6 @@
# spec file for php-pear-PHP-CodeSniffer
#
# Copyright (c) 2013-2019 Remi Collet
# Copyright (c) 2013-2020 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.4.2
Version: 3.5.5
Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
@ -86,12 +86,20 @@ install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}
# fix broken pear detection (may use export PHP_CODESNIFFER_PEAR=1 if PR accepted)
# https://github.com/squizlabs/PHP_CodeSniffer/pull/2847
sed -e '/PHP_CODESNIFFER_PEAR/s/false/true/' -i tests/AllTests.php
# 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.
ret=0
for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} --verbose || ret=1
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \
--verbose || ret=1
fi
done
exit $ret
@ -119,6 +127,26 @@ fi
%changelog
* Mon Apr 20 2020 Remi Collet <remi@remirepo.net> - 3.5.5-1
- update to 3.5.5
* Fri Jan 31 2020 Remi Collet <remi@remirepo.net> - 3.5.4-1
- update to 3.5.4
- fix test suite from
https://github.com/squizlabs/PHP_CodeSniffer/pull/2847
* Wed Dec 4 2019 Remi Collet <remi@remirepo.net> - 3.5.3-1
- update to 3.5.3
* Mon Oct 28 2019 Remi Collet <remi@remirepo.net> - 3.5.2-1
- update to 3.5.2
* Thu Oct 17 2019 Remi Collet <remi@remirepo.net> - 3.5.1-1
- update to 3.5.1
* Fri Sep 27 2019 Remi Collet <remi@remirepo.net> - 3.5.0-1
- update to 3.5.0
* Thu Apr 11 2019 Remi Collet <remi@remirepo.net> - 3.4.2-1
- update to 3.4.2

View file

@ -1 +1 @@
SHA512 (PHP_CodeSniffer-3.4.2.tgz) = 6236e3f9899d8f4637314f359a8db44835140d0292ea02b56b5e2e55ea8739841648ee03c3f25bf4df64577237b6bc1c3d0999d5452b9f292ef019347ecd41f5
SHA512 (PHP_CodeSniffer-3.5.5.tgz) = dad676069122d879b8afb665d661bcd1c810c762b44738765231f8c8cc90d20e7e581690b7e725cdc24438be26fa3185f3556a300798ed5a03cff51f5cbb5d4d