1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
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);
|