File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 10
10
],
11
11
"require" : {
12
12
"php" : " ^7.1" ,
13
- "phpstan/phpstan" : " ^0.10.6 " ,
13
+ "phpstan/phpstan" : " ^0.11 " ,
14
14
"symfony/yaml" : " ~3.4.5|^4.2" ,
15
15
"webflo/drupal-finder" : " ^1.1"
16
16
},
17
17
"require-dev" : {
18
- "phpstan/phpstan-strict-rules" : " ^0.10.1 " ,
18
+ "phpstan/phpstan-strict-rules" : " ^0.11 " ,
19
19
"squizlabs/php_codesniffer" : " ^3.3" ,
20
20
"phpunit/phpunit" : " ^7.5"
21
21
},
32
32
},
33
33
"extra" : {
34
34
"branch-alias" : {
35
- "dev-master" : " 0.11 -dev"
35
+ "dev-master" : " 0.12 -dev"
36
36
}
37
37
}
38
38
}
Original file line number Diff line number Diff line change @@ -58,12 +58,13 @@ public function loadConfiguration(): void
58
58
$ builder = $ this ->getContainerBuilder ();
59
59
$ builder ->parameters ['drupalRoot ' ] = $ this ->drupalRoot ;
60
60
61
+ /** @var array */
61
62
$ config = Helpers::merge ($ this ->config , $ this ->defaultConfig );
62
63
63
64
$ this ->modules = $ config ['modules ' ] ?? [];
64
65
$ this ->themes = $ config ['themes ' ] ?? [];
65
66
66
- $ builder ->parameters ['drupal ' ]['entityTypeStorageMapping ' ] = $ config ['entityTypeStorageMapping ' ];
67
+ $ builder ->parameters ['drupal ' ]['entityTypeStorageMapping ' ] = $ config ['entityTypeStorageMapping ' ] ?? [] ;
67
68
68
69
$ builder = $ this ->getContainerBuilder ();
69
70
foreach ($ builder ->getDefinitions () as $ definition ) {
You can’t perform that action at this time.
0 commit comments