# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=9 COMPOSER_INSTALL_PATH="phpDocumentor/Reflection" PHP_REQ_USE="filter" inherit composer git-r3 DESCRIPTION="phpDocumentor ReflectionDocBlock component" HOMEPAGE="https://github.com/phpDocumentor/ReflectionDocBlock" EGIT_REPO_URI="https://github.com/phpDocumentor/ReflectionDocBlock.git" LICENSE="MIT" SLOT="0" RDEPEND="dev-php/doctrine-deprecations dev-php/phpdocumentor-reflection-common dev-php/phpdocumentor-type-resolver dev-php/phpstan-phpdoc-parser dev-php/webmozart-assert" BDEPEND="test? ( dev-php/mockery )" PATCHES=( "${FILESDIR}/${PN}"-6.0.3-tests-AuthorTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-DescriptionFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-DocBlockFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-ExampleTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-MethodFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-MethodParameterTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-ParamFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-PcreExceptionTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-StandardTagFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-TemplateCovariantFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-TemplateFactoryTest.patch "${FILESDIR}/${PN}"-6.0.3-tests-TypedTagsTest.patch ) composer_enable_tests phpunit src_prepare() { composer_src_prepare edo phpab -q -o src/DocBlock/autoload.php -t "${FILESDIR}"/autoload.php.tpl src } src_compile() { :; }