From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 18 Feb 2019 11:10:54 -1000
Subject: Workaround autload issue during tests
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

It’s related to ezc_autoload, PHPUnit blacklist, the path where
php-invoker is currently installed on Debian and the homemade autload
not using Composer.

Bug-PHPUnit: https://github.com/sebastianbergmann/phpunit/issues/1598
Forwarded: not-needed
---
 tests/bootstrap.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index bd9994e..562392b 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -15,7 +15,7 @@ EOT
 
 function ezc_autoload( $className )
 {
-    if ( strpos( $className, '_' ) === false )
+    if ( strpos( $className, '_' ) === false && strpos( $className, 'Composer' ) === false && strpos( $className, 'Invoker' ) === false )
     {
         ezcBase::autoload( $className );
     }
