Skip to content

Commit f1d70a9

Browse files
[FrameworkBundle] Fix tests
1 parent 0be5396 commit f1d70a9

7 files changed

+7
-7
lines changed

Tests/Fixtures/php/services10_as_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class ProjectServiceContainer extends Container
120120

121121
use Symfony\Component\DependencyInjection\Dumper\Preloader;
122122

123-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
123+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
124124
return;
125125
}
126126

Tests/Fixtures/php/services9_as_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ class ProjectServiceContainer extends Container
717717

718718
use Symfony\Component\DependencyInjection\Dumper\Preloader;
719719

720-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
720+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
721721
return;
722722
}
723723

Tests/Fixtures/php/services9_inlined_factories.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ class ProjectServiceContainer extends Container
560560

561561
use Symfony\Component\DependencyInjection\Dumper\Preloader;
562562

563-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
563+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
564564
return;
565565
}
566566

Tests/Fixtures/php/services9_inlined_factories_with_tagged_iterrator.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class ProjectServiceContainer extends Container
8585

8686
use Symfony\Component\DependencyInjection\Dumper\Preloader;
8787

88-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
88+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
8989
return;
9090
}
9191

Tests/Fixtures/php/services9_lazy_inlined_factories.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class ProjectServiceContainer extends Container
153153

154154
use Symfony\Component\DependencyInjection\Dumper\Preloader;
155155

156-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
156+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
157157
return;
158158
}
159159

Tests/Fixtures/php/services_deprecated_parameters_as_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class ProjectServiceContainer extends Container
161161

162162
use Symfony\Component\DependencyInjection\Dumper\Preloader;
163163

164-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
164+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
165165
return;
166166
}
167167

Tests/Fixtures/php/services_non_shared_lazy_as_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File extends Container
129129

130130
use Symfony\Component\DependencyInjection\Dumper\Preloader;
131131

132-
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
132+
if (in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
133133
return;
134134
}
135135

0 commit comments

Comments
 (0)