Skip to content

Commit 0cb8294

Browse files
authored
Using autowire in security_checker.yaml
Using autowire & autoconfigure in security_checker.yaml This made for consistency with main `config/services.yaml` style and following the latest trends
1 parent 8d8b444 commit 0cb8294

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
services:
2-
SensioLabs\Security\SecurityChecker:
3-
public: false
2+
_defaults:
3+
autowire: true
4+
autoconfigure: true
45

5-
SensioLabs\Security\Command\SecurityCheckerCommand:
6-
arguments: ['@SensioLabs\Security\SecurityChecker']
7-
public: false
8-
tags:
9-
- { name: console.command, command: 'security:check' }
6+
SensioLabs\Security\SecurityChecker: ~
7+
8+
SensioLabs\Security\Command\SecurityCheckerCommand: ~

0 commit comments

Comments
 (0)