From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Fri, 22 Sep 2017 03:55:27 -1000
Subject: Drop test failing outside Composer environment

---
 .../weak_vendors_on_non_vendor.phpt                | 74 ----------------------
 1 file changed, 74 deletions(-)
 delete mode 100644 src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_non_vendor.phpt

diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_non_vendor.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_non_vendor.phpt
deleted file mode 100644
index 9c72a8e..0000000
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_non_vendor.phpt
+++ /dev/null
@@ -1,74 +0,0 @@
---TEST--
-Test DeprecationErrorHandler in weak vendors mode on a non vendor file
---FILE--
-<?php
-
-$k = 'SYMFONY_DEPRECATIONS_HELPER';
-putenv($k.'='.$_SERVER[$k] = $_ENV[$k] = 'max[self]=0');
-putenv('ANSICON');
-putenv('ConEmuANSI');
-putenv('TERM');
-
-$vendor = __DIR__;
-while (!file_exists($vendor.'/vendor')) {
-    $vendor = dirname($vendor);
-}
-define('PHPUNIT_COMPOSER_INSTALL', $vendor.'/vendor/autoload.php');
-require PHPUNIT_COMPOSER_INSTALL;
-require_once __DIR__.'/../../bootstrap.php';
-
-@trigger_error('root deprecation', E_USER_DEPRECATED);
-
-eval(<<<'EOPHP'
-namespace PHPUnit\Util;
-
-class Test
-{
-    public static function getGroups()
-    {
-        return array();
-    }
-}
-EOPHP
-);
-
-class FooTestCase
-{
-    public function testLegacyFoo()
-    {
-        @trigger_error('silenced foo deprecation', E_USER_DEPRECATED);
-        trigger_error('unsilenced foo deprecation', E_USER_DEPRECATED);
-        trigger_error('unsilenced foo deprecation', E_USER_DEPRECATED);
-    }
-
-    public function testNonLegacyBar()
-    {
-        @trigger_error('silenced bar deprecation', E_USER_DEPRECATED);
-        trigger_error('unsilenced bar deprecation', E_USER_DEPRECATED);
-    }
-}
-
-$foo = new FooTestCase();
-$foo->testLegacyFoo();
-$foo->testNonLegacyBar();
-
-?>
---EXPECTF--
-Unsilenced deprecation notices (3)
-
-  2x: unsilenced foo deprecation
-    2x in FooTestCase::testLegacyFoo
-
-  1x: unsilenced bar deprecation
-    1x in FooTestCase::testNonLegacyBar
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
-  1x: root deprecation
-
-  1x: silenced bar deprecation
-    1x in FooTestCase::testNonLegacyBar
-
-
