File tree Expand file tree Collapse file tree
tests/ElasticApmTests/ComponentTests/Util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ protected function verifyOneTransactionNoSpans(DataFromAgent $dataFromAgent): Tr
185185 /**
186186 * @param class-string<AutoInstrumentationBase> $instrClassName
187187 * @param string[] $expectedNames
188- * @param bool $isEnabledByDefault
189188 *
190189 * @return void
191190 */
@@ -199,7 +198,7 @@ protected static function implTestIsAutoInstrumentationEnabled(string $instrClas
199198 $ actualNames = $ instr ->keywords ();
200199 $ actualNames [] = $ instr ->name ();
201200 self ::assertEqualAsSets ($ expectedNames , $ actualNames );
202- $ isEnabledByDefault = OptionDefaultValues::AST_PROCESS_ENABLED || (!$ instr ->requiresUserlandCodeInstrumentation ());
201+ $ isEnabledByDefault = OptionDefaultValues::AST_PROCESS_ENABLED || (!$ instr ->requiresUserlandCodeInstrumentation ()); // @phpstan-ignore-line
203202 self ::assertSame ($ isEnabledByDefault , $ instr ->isEnabled ());
204203
205204 /**
You can’t perform that action at this time.
0 commit comments