# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=9 COMPOSER_INSTALL_PATH="SebastianBergmann/GlobalState" PHP_MIN_VER="8.3" PHP_REQ_USE="xml" inherit composer git-r3 DESCRIPTION="Snapshotting of global state" HOMEPAGE="https://github.com/sebastianbergmann/global-state" EGIT_REPO_URI="https://github.com/sebastianbergmann/global-state.git" LICENSE="BSD" SLOT="0" RDEPEND="dev-php/sebastian-object-reflector dev-php/sebastian-recursion-context" BDEPEND="dev-php/theseer-Autoload" DOCS=( {ChangeLog,README}.md ) EPHPUNIT_BOOTSTRAP='tests/autoload.php' composer_enable_tests phpunit src_prepare() { default edo phpab -q -o src/autoload.php -t "${FILESDIR}"/autoload.php.tpl src edo phpab -q -o tests/autoload.php -t "${FILESDIR}"/autoload-test.php.tpl tests/_fixture }