diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginInspectionTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginInspectionTraitTest.php index 6698fb3a6d..e460cb4b0b 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginInspectionTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginInspectionTraitTest.php @@ -34,29 +34,29 @@ public function testDeprecated($plugin_definition, $deprecation_message) { * Provides data for testDeprecated. */ public function providerTestDeprecated() { - $msg = 'foo'; + $message = 'foo'; $plugin_definition = $this->getMockBuilder(PluginDefinitionInterface::class) ->getMock(); - $plugin_definition->deprecationMessage = $msg; + $plugin_definition->deprecationMessage = $message; $definition_with_additional = $this->getMockBuilder(PluginDefinitionInterface::class) ->addMethods(['get']) ->getMockForAbstractClass(); - $definition_with_additional->additional = ['deprecation_message' => $msg]; - $definition_with_additional->method('get')->willReturn(['deprecation_message' => $msg]); + $definition_with_additional->additional = ['deprecation_message' => $message]; + $definition_with_additional->method('get')->willReturn(['deprecation_message' => $message]); return [ 'definition is an array' => [ - ['value', ['key' => 'value'], 'deprecation_message' => $msg], - $msg, + ['value', ['key' => 'value'], 'deprecation_message' => $message], + $message, ], 'definition is an object' => [ $plugin_definition, - $msg, + $message, ], 'definition is an object with additional' => [ $definition_with_additional, - $msg, + $message, ], ]; }