From d2cf845dbd2dc9c6cd56e1e7886a32b574cd04a0 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Thu, 24 Sep 2020 14:51:47 +0200 Subject: [PATCH] Fix AutoloadFilesTest (see also https://github.com/phpstan/phpstan/commit/1885415bf8373878c3eff0e5aaffe8d9e085ba81) --- tests/PHPStan/Composer/AutoloadFilesTest.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/PHPStan/Composer/AutoloadFilesTest.php b/tests/PHPStan/Composer/AutoloadFilesTest.php index 047853fae2..2071f5232d 100644 --- a/tests/PHPStan/Composer/AutoloadFilesTest.php +++ b/tests/PHPStan/Composer/AutoloadFilesTest.php @@ -46,12 +46,15 @@ public function testExpectedFiles(): void sort($autoloadFiles); $expectedFiles = [ + 'guzzlehttp/guzzle/src/functions_include.php', // added to phpstan-dist/bootstrap.php + 'guzzlehttp/guzzlehttp/promises/src/functions_include.php', // added to phpstan-dist/bootstrap.php + 'guzzlehttp/guzzlehttp/psr7/src/functions_include.php', // added to phpstan-dist/bootstrap.php 'hoa/consistency/Prelude.php', // Hoa isn't prefixed, no need to load this eagerly 'hoa/protocol/Wrapper.php', // Hoa isn't prefixed, no need to load this eagerly - 'jetbrains/phpstorm-stubs/PhpStormStubsMap.php', // added to bin/phpstan + 'jetbrains/phpstorm-stubs/PhpStormStubsMap.php', // added to phpstan-dist/bootstrap.php 'myclabs/deep-copy/src/DeepCopy/deep_copy.php', // dev dependency of PHPUnit - 'react/promise-timer/src/functions_include.php', // added to bin/phpstan - 'react/promise/src/functions_include.php', // added to bin/phpstan + 'react/promise-timer/src/functions_include.php', // added to phpstan-dist/bootstrap.php + 'react/promise/src/functions_include.php', // added to phpstan-dist/bootstrap.php 'symfony/polyfill-ctype/bootstrap.php', // afaik polyfills aren't necessary 'symfony/polyfill-mbstring/bootstrap.php', // afaik polyfills aren't necessary 'symfony/polyfill-php73/bootstrap.php', // afaik polyfills aren't necessary