Skip to content

Commit 3da9e51

Browse files
committed
correct error in running test:
Matthias\SymfonyServiceDefinitionValidator\Functional\FunctionalTest::testIfTheServiceDefinitionsAreCorrectTheContainerWillBeCompiled Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Invalid key "dsn" found in arguments of method "__construct()" for service "pdo": only integer or $named arguments are allowed.
1 parent 395264a commit 3da9e51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Functional/Fixtures/reported_problems.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ services:
22
pdo:
33
class: PDO
44
arguments:
5-
dsn: "mysql:dbname=dbname;host=host"
6-
user: "user"
7-
password: "password"
5+
- "mysql:dbname=dbname;host=host"
6+
- "user"
7+
- "password"
88
calls:
99
- [setAttribute, [3, 2]]
1010

0 commit comments

Comments
 (0)