From a058a927910bb2ddb29194e72053521099bee1f2 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 24 Sep 2021 18:58:33 +0200 Subject: [PATCH] Ignore some classes during validation --- tests/testing.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/testing.php b/tests/testing.php index 859350196..b863ee1f2 100755 --- a/tests/testing.php +++ b/tests/testing.php @@ -45,11 +45,18 @@ if ($loader) { 'Phabel\\Monolog\\Test\\TestCase', 'Phabel\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface', 'Phabel\\Symfony\\Component\\String\\Slugger\\AsciiSlugger', - 'Phabel\\Composer\\Plugin' + 'Phabel\\Composer\\Plugin', + 'PhabelVendor\\Amp\\Sync\\Internal\\MutexStorage', + 'PhabelVendor\\Amp\\Sync\\Internal\\SemaphoreStorage', + 'PhabelVendor\\Amp\\Parallel\\Sync\\Internal\\ParcelStorage', + 'PhabelVendor\\Amp\\Parallel\\Context\\Internal\\Thread', + 'PhabelVendor\\Monolog\\Test\\TestCase', + 'PhabelVendor\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface', + 'PhabelVendor\\Symfony\\Component\\String\\Slugger\\AsciiSlugger', ])) { continue; } - if (\str_starts_with($class, 'Phabel\\Symfony\\Component\\Console') || \str_ends_with($class, 'Test') || \class_exists($class) || \interface_exists($class)) { + if (\str_starts_with($class, 'PhabelVendor\\Symfony\\Component\\Console') || \str_starts_with($class, 'Phabel\\Symfony\\Component\\Console') || \str_ends_with($class, 'Test') || \class_exists($class) || \interface_exists($class)) { continue; } require_once($file);