File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ return [
105
105
// User ID and IP will be added by logger automatically
106
106
'username' => $identity->username,
107
107
'email' => $identity->email,
108
- ], true); // Don't forget to set second param of setUser to true for merging data
108
+ ]);
109
109
});
110
110
}
111
111
Original file line number Diff line number Diff line change 8
8
"type" : " yii2-extension" ,
9
9
"license" : " MIT" ,
10
10
"require" : {
11
- "php" : " ^7.1 " ,
11
+ "php" : " ^7.2 " ,
12
12
"yiisoft/yii2" : " ^2.0" ,
13
- "sentry/sdk" : " ^2 .0"
13
+ "sentry/sdk" : " ^3 .0"
14
14
},
15
15
"require-dev" : {
16
- "codeception/codeception" : " ^3.0"
16
+ "codeception/codeception" : " ^4.0" ,
17
+ "codeception/module-yii2" : " ^1.1" ,
18
+ "codeception/module-asserts" : " ^1.3"
17
19
},
18
20
"autoload" : {
19
21
"psr-4" : {
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public function export()
136
136
137
137
$ data = $ this ->runExtraCallback ($ text , $ data );
138
138
139
- $ scope ->setUser ($ data ['userData ' ], true );
139
+ $ scope ->setUser ($ data ['userData ' ]);
140
140
foreach ($ data ['extra ' ] as $ key => $ value ) {
141
141
$ scope ->setExtra ((string ) $ key , $ value );
142
142
}
You can’t perform that action at this time.
0 commit comments