You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \InvalidArgumentException(sprintf('Entry "bundles" under "extra.symfony" in the composer.json of package "%s" must be an array, "%s" given.', $name, \gettype($extraBundles)));
768
+
}
769
+
foreach ($extraBundlesas$bundleClass => $envs) {
770
+
if (!\is_array($envs)) {
771
+
thrownew \InvalidArgumentException(sprintf('Invalid envs for bundle "%s" under "extra.symfony.bundles": array expected, "%s" given in the composer.json of package "%s".', $bundleClass, \gettype($envs), $name));
772
+
}
773
+
foreach ($envsas$env) {
774
+
if (!\is_string($env)) {
775
+
thrownew \InvalidArgumentException(sprintf('Bundle "%s" under "extra.symfony.bundles" should list Symfony envs as strings, "%s" found in the composer.json of package "%s".', $bundleClass, \gettype($env), $name));
0 commit comments