8000 Make search in debug:container command case-insensitive · symfony/symfony@c429c33 · GitHub
[go: up one dir, main page]

Skip to content

Commit c429c33

Browse files
committed
Make search in debug:container command case-insensitive
1 parent ae62e56 commit c429c33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ private function findServiceIdsContaining(ContainerBuilder $builder, $name)
217217
{
218218
$serviceIds = $builder->getServiceIds();
219219
$foundServiceIds = array();
220-
$name = strtolower($name);
221220
foreach ($serviceIds as $serviceId) {
222-
if (false === strpos($serviceId, $name)) {
221+
if (false === stripos($serviceId, $name)) {
223222
continue;
224223
}
225224
$foundServiceIds[] = $serviceId;

0 commit comments

Comments
 (0)
0