From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Thu, 7 Jan 2021 00:35:01 -0400
Subject: [Yaml] Adapt to homemade autoload

Forwarded: not-needed
---
 src/Symfony/Component/Yaml/Resources/bin/yaml-lint | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Symfony/Component/Yaml/Resources/bin/yaml-lint b/src/Symfony/Component/Yaml/Resources/bin/yaml-lint
index 143869e..4cfbb3a 100755
--- a/src/Symfony/Component/Yaml/Resources/bin/yaml-lint
+++ b/src/Symfony/Component/Yaml/Resources/bin/yaml-lint
@@ -29,9 +29,7 @@ function includeIfExists(string $file): bool
 }
 
 if (
-    !includeIfExists(__DIR__ . '/../../../../autoload.php') &&
-    !includeIfExists(__DIR__ . '/../../vendor/autoload.php') &&
-    !includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')
+    !includeIfExists(__DIR__ . '/../share/php/Symfony/Component/Yaml/autoload.php')
 ) {
     fwrite(STDERR, 'Install dependencies using Composer.'.PHP_EOL);
     exit(1);
