From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Thu, 2 Apr 2020 16:19:15 -1000
Subject: [DependencyInjection] Drop parts of expectated output

The [ProjectServiceContainer.preload.php] part is not currently included
in the file of our (test?) environment.

To be investigated.
---
 .../Tests/Fixtures/php/services10_as_files.txt     | 21 --------
 .../Tests/Fixtures/php/services9_as_files.txt      | 57 ----------------------
 .../Fixtures/php/services9_inlined_factories.txt   | 31 ------------
 ...es9_inlined_factories_with_tagged_iterrator.txt | 21 --------
 .../php/services9_lazy_inlined_factories.txt       | 21 --------
 .../services_deprecated_parameters_as_files.txt    | 21 --------
 .../php/services_non_shared_lazy_as_files.txt      | 21 --------
 .../php/services_nonempty_parameters_as_files.txt  | 20 --------
 8 files changed, 213 deletions(-)

diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt
index 54189a2..156924a 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt
@@ -114,27 +114,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d).'%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-require __DIR__.'/Container%s/getClosureService.php';
-
-$classes = [];
-$classes[] = 'FooClass';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt
index 7c2345f..d21f31c 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt
@@ -714,63 +714,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d).'%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-require __DIR__.'/Container%s/getThrowingOneService.php';
-require __DIR__.'/Container%s/getTaggedIteratorService.php';
-require __DIR__.'/Container%s/getServiceFromStaticMethodService.php';
-require __DIR__.'/Container%s/getRuntimeErrorService.php';
-require __DIR__.'/Container%s/getPreloadSidekickService.php';
-require __DIR__.'/Container%s/getNonSharedFooService.php';
-require __DIR__.'/Container%s/getNewFactoryServiceService.php';
-require __DIR__.'/Container%s/getMethodCall1Service.php';
-require __DIR__.'/Container%s/getLazyContextIgnoreInvalidRefService.php';
-require __DIR__.'/Container%s/getLazyContextService.php';
-require __DIR__.'/Container%s/getFooWithInlineService.php';
-require __DIR__.'/Container%s/getFooBarService.php';
-require __DIR__.'/Container%s/getFoo_BazService.php';
-require __DIR__.'/Container%s/getFooService.php';
-require __DIR__.'/Container%s/getFactoryServiceSimpleService.php';
-require __DIR__.'/Container%s/getFactoryServiceService.php';
-require __DIR__.'/Container%s/getDecoratorServiceWithNameService.php';
-require __DIR__.'/Container%s/getDecoratorServiceService.php';
-require __DIR__.'/Container%s/getConfiguredServiceSimpleService.php';
-require __DIR__.'/Container%s/getConfiguredServiceService.php';
-require __DIR__.'/Container%s/getBazService.php';
-require __DIR__.'/Container%s/getBar23Service.php';
-require __DIR__.'/Container%s/getBServiceService.php';
-require __DIR__.'/Container%s/getAServiceService.php';
-require __DIR__.'/Container%s/getBAR22Service.php';
-require __DIR__.'/Container%s/getBAR2Service.php';
-
-$classes = [];
-$classes[] = 'Bar';
-$classes[] = 'Bar\FooClass';
-$classes[] = 'Baz';
-$classes[] = 'ConfClass';
-$classes[] = 'BazClass';
-$classes[] = 'Foo';
-$classes[] = 'LazyContext';
-$classes[] = 'FooBarBaz';
-$classes[] = 'FactoryClass';
-$classes[] = 'Some\Sidekick1';
-$classes[] = 'Some\Sidekick2';
-$classes[] = 'Request';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories.txt
index eb1d7cd..2f16ef2 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories.txt
@@ -556,37 +556,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d).'%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-
-$classes = [];
-$classes[] = 'Bar';
-$classes[] = 'Bar\FooClass';
-$classes[] = 'Baz';
-$classes[] = 'ConfClass';
-$classes[] = 'BazClass';
-$classes[] = 'Foo';
-$classes[] = 'LazyContext';
-$classes[] = 'FooBarBaz';
-$classes[] = 'FactoryClass';
-$classes[] = 'Some\Sidekick1';
-$classes[] = 'Some\Sidekick2';
-$classes[] = 'Request';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories_with_tagged_iterrator.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories_with_tagged_iterrator.txt
index c0e2bac..eda586e 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories_with_tagged_iterrator.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_inlined_factories_with_tagged_iterrator.txt
@@ -78,27 +78,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d).'/vendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-
-$classes = [];
-$classes[] = 'Bar';
-$classes[] = 'Symfony\Component\DependencyInjection\Tests\Dumper\FooClass';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_lazy_inlined_factories.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_lazy_inlined_factories.txt
index 9e6a386..3ad6feb 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_lazy_inlined_factories.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_lazy_inlined_factories.txt
@@ -133,27 +133,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d).'%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-
-$classes = [];
-$classes[] = 'Bar\FooClass';
-$classes[] = 'Bar\FooLazyClass';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt
index 60da907..6dfefd5 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt
@@ -158,27 +158,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d)%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-require __DIR__.'/Container%s/getFooService.php';
-
-$classes = [];
-$classes[] = 'FooClass\Foo';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
index 69a4722..76ebf30 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
@@ -103,27 +103,6 @@ class Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File extends Container
     }
 }
 
-    [Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require '%svendor/autoload.php';
-(require __DIR__.'/Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File.php')->set(\Container%s\Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File::class, null);
-require __DIR__.'/Container%s/getNonSharedFooService.php';
-
-$classes = [];
-$classes[] = 'Bar\FooLazyClass';
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_nonempty_parameters_as_files.txt b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_nonempty_parameters_as_files.txt
index a41525c..977da0b 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_nonempty_parameters_as_files.txt
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_nonempty_parameters_as_files.txt
@@ -156,26 +156,6 @@ class ProjectServiceContainer extends Container
     }
 }
 
-    [ProjectServiceContainer.preload.php] => <?php
-
-// This file has been auto-generated by the Symfony Dependency Injection Component
-// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
-
-use Symfony\Component\DependencyInjection\Dumper\Preloader;
-
-if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
-    return;
-}
-
-require dirname(__DIR__, %d)%svendor/autoload.php';
-(require __DIR__.'/ProjectServiceContainer.php')->set(\Container%s\ProjectServiceContainer::class, null);
-require __DIR__.'/Container%s/getFooService.php';
-
-$classes = [];
-$classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
-
-$preloaded = Preloader::preload($classes);
-
     [ProjectServiceContainer.php] => <?php
 
 // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
