File tree Expand file tree Collapse file tree 4 files changed +5
-19
lines changed Expand file tree Collapse file tree 4 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 19
19
/**
20
20
* @inheritdoc
21
21
*/
22
- class Logger extends \Monolog \Logger
22
+ class Logger extends \Monolog \Logger // @phpstan-ignore-line
23
23
{
24
24
/**
25
25
* @var File
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function format(\Monolog\LogRecord|array $record): string
81
81
if (isset ($ loggedErrors [$ record ['context ' ]['errorCode ' ]])) {
82
82
return '' ;
83
83
}
84
-
84
+ /** @phpstan-ignore-next-line */
85
85
return parent ::format ($ this ->formatLog ($ record ));
86
86
} catch (\Exception $ exception ) {
87
87
return '' ;
Original file line number Diff line number Diff line change @@ -89,10 +89,9 @@ private function collectErrors(): array
89
89
90
90
/* @var $validators ValidatorInterface[] */
91
91
foreach ($ this ->validators as $ level => $ validators ) {
92
- /** @phpstan-ignore-next-line */
93
- $ level = Logger::toMonologLevel ($ level );
94
- if (!is_int ($ level )) {
95
- $ level = $ level ->value ;
92
+ $ level = Logger::toMonologLevel ($ level ); // @phpstan-ignore-line
93
+ if (!is_int ($ level )) { // @phpstan-ignore-line
94
+ $ level = $ level ->value ; // @phpstan-ignore-line
96
95
}
97
96
foreach ($ validators as $ name => $ validator ) {
98
97
if (!$ validator instanceof ValidatorInterface) {
Original file line number Diff line number Diff line change @@ -143,19 +143,6 @@ public function validateVersionsDataProvider(): array
143
143
ServiceInterface::NAME_ELASTICSEARCH => '6.5.13 ' ,
144
144
]
145
145
],
146
- [
147
- '2.5.0 ' ,
148
- [
149
- ServiceInterface::NAME_PHP => '7.4 ' , // wrong
150
- ServiceInterface::NAME_DB_MARIA => '10.6.1 ' ,
151
- ServiceInterface::NAME_NGINX => '1.9 ' ,
152
- ServiceInterface::NAME_VARNISH => '7.1.1 ' ,
153
- ServiceInterface::NAME_REDIS => 'latest ' ,
154
- ServiceInterface::NAME_ELASTICSEARCH => '7.5 ' , // wrong
155
- ServiceInterface::NAME_RABBITMQ => '3.8 ' // wrong
156
- ],
157
- 3
158
- ],
159
146
[
160
147
'2.4.0 ' ,
161
148
[
You can’t perform that action at this time.
0 commit comments