Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 788003 Details for
Bug 725572
dev-php/PHP_CodeSniffer-3.5.4 config file path error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild with fix
PHP_CodeSniffer-3.6.1.ebuild (text/plain), 1.45 KB, created by
sligo
on 2022-06-27 09:13:58 UTC
(
hide
)
Description:
Ebuild with fix
Filename:
MIME Type:
Creator:
sligo
Created:
2022-06-27 09:13:58 UTC
Size:
1.45 KB
patch
obsolete
># Copyright 1999-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=8 > >DESCRIPTION="Detect violations of PHP code standards" >HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" > ># The test suite isn't part of the Github tarball at the moment. Keep an ># eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 >SRC_URI="http://download.pear.php.net/package/${P}.tgz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="test" >RESTRICT="!test? ( test )" > >RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]" >DEPEND="test? ( > ${RDEPEND} > <dev-php/phpunit-6 > )" > >DOCS=( CONTRIBUTING.md README.md ) > >MY_PN="PHP/CodeSniffer" > >src_prepare() { > sed -i "s~@data_dir@\(/PHP_CodeSniffer\)\?~${EPREFIX}/usr/share/php/data/${MY_PN}~" src/Config.php || die > default >} > >src_test() { > # The test suite will fail if date.timezone isn't set in php.ini. > phpunit -d date.timezone=UTC tests/AllTests.php \ > || die "test suite failed" >} > >src_install() { > local script > # The PEAR eclass would install everything into the wrong location. > insinto "/usr/share/php/${MY_PN}" > doins -r src autoload.php > > insinto "/usr/share/php/data/${MY_PN}" > doins CodeSniffer.conf.dist > # These load code via relative paths, so they have to be symlinked > # and not dobin'd. > exeinto "/usr/share/php/${MY_PN}/bin" > for script in phpcbf phpcs; do > doexe "bin/${script}" > dosym "../share/php/${MY_PN}/bin/${script}" "/usr/bin/${script}" > done > > einstalldocs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 725572
: 788003