Diff PHP_CodeSniffer-3.5.6 with a PHP_CodeSniffer-3.5.8

/usr/portage/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.8.ebuild 2023-10-09 14:52:29.960368362 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
17 17
RESTRICT="!test? ( test )"
18 18

  
19 19
RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]"
20
DEPEND="test? ( <dev-php/phpunit-6 ${RDEPEND} )"
20
DEPEND="test? (
21
		${RDEPEND}
22
		<dev-php/phpunit-6
23
	)"
21 24

  
22 25
DOCS=( CONTRIBUTING.md README.md )
23 26

  
......
26 29
	default
27 30
}
28 31

  
32
src_test() {
33
	# The test suite will fail if date.timezone isn't set in php.ini.
34
	phpunit -d date.timezone=UTC tests/AllTests.php \
35
		|| die "test suite failed"
36
}
37

  
29 38
src_install() {
30 39
	local MY_PN="PHP/CodeSniffer" script
31 40
	# The PEAR eclass would install everything into the wrong location.
......
44 53

  
45 54
	einstalldocs
46 55
}
47

  
48
src_test() {
49
	# The test suite will fail if date.timezone isn't set in php.ini.
50
	phpunit -d date.timezone=UTC tests/AllTests.php \
51
		|| die "test suite failed"
52
}
Thank you!