diff options
author | Brian Evans <grknight@gentoo.org> | 2019-12-20 13:28:40 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-12-20 13:34:23 -0500 |
commit | af347e1ad8e4eef087266c5e1883cfccdda6ae3b (patch) | |
tree | 1157f095e9b963714c4e32cbcad187c85b65f198 /dev-php/PHP_TokenStream | |
parent | dev-php/phpunit: Fix errors in autoload file (diff) | |
download | gentoo-af347e1ad8e4eef087266c5e1883cfccdda6ae3b.tar.gz gentoo-af347e1ad8e4eef087266c5e1883cfccdda6ae3b.tar.bz2 gentoo-af347e1ad8e4eef087266c5e1883cfccdda6ae3b.zip |
dev-php/PHP_TokenStream: Fix tests for new phpunit
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/PHP_TokenStream')
-rw-r--r-- | dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild index 1abe33f362c5..106234e79bf1 100644 --- a/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild +++ b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild @@ -26,6 +26,11 @@ RDEPEND="dev-php/fedora-autoloader BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" RESTRICT="!test? ( test )" +src_prepare() { + sed -i -e 's/setUp()/setUp():void/' tests/Token/*.php || die + default +} + src_install() { insinto /usr/share/php/PHP/Token doins -r src/* |