Loading core/modules/migrate/tests/src/Unit/process/LogTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ class LogTest extends MigrateProcessTestCase { /** * Tests the Log plugin. * * @dataProvider providerTestLog() * @dataProvider providerTestLog */ public function testLog($value, $expected_message) { // Test the expected log message. Loading core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -280,7 +280,7 @@ public function providerTestUserRole() { * contains the source role id, an array of valid permissions and an array * of invalid permissions. * * @dataProvider providerTestUserRole() * @dataProvider providerTestUserRole */ public function testUserRole(array $modules, array $migrations, array $role_data) { if ($modules) { Loading core/phpstan-baseline.neon +0 −40 Original line number Diff line number Diff line Loading @@ -1850,11 +1850,6 @@ parameters: count: 1 path: modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php - message: "#^@dataProvider providerTestLog\\(\\) related method not found\\.$#" count: 1 path: modules/migrate/tests/src/Unit/process/LogTest.php - message: "#^Variable \\$sub_process_plugins might not be defined\\.$#" count: 2 Loading Loading @@ -2705,11 +2700,6 @@ parameters: count: 1 path: modules/user/tests/src/Functional/Views/UserChangedTest.php - message: "#^@dataProvider providerTestUserRole\\(\\) related method not found\\.$#" count: 1 path: modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php - message: "#^Variable \\$result in isset\\(\\) always exists and is not nullable\\.$#" count: 1 Loading Loading @@ -3520,11 +3510,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php - message: "#^@dataProvider providerTestValidateHex\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Component/Utility/ColorTest.php - message: "#^@coversDefaultClass defined on class method testHtmlClass\\.$#" count: 1 Loading Loading @@ -3575,11 +3560,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php - message: "#^@dataProvider providerTestGetMachineNameSuggestion\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Block/BlockBaseTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading Loading @@ -3645,16 +3625,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Controller/TitleResolverTest.php - message: "#^@dataProvider dataProviderTestCompileWithKnownOperators\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/ConditionTest.php - message: "#^@dataProvider providerSimpleCondition\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/ConditionTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading @@ -3680,11 +3650,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Database/OrderByTest.php - message: "#^@dataProvider providerTestExceptionMessage\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading Loading @@ -3730,11 +3695,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php - message: "#^@dataProvider providerTestGetTableMappingSimple\\(\\) related method not found\\.$#" count: 8 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading core/tests/Drupal/Tests/Component/Utility/ColorTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class ColorTest extends TestCase { * @param string $value * The hex color value. * * @dataProvider providerTestValidateHex() * @dataProvider providerTestValidateHex */ public function testValidateHex($expected, $value) { $this->assertSame($expected, Color::validateHex($value)); Loading core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class BlockBaseTest extends UnitTestCase { * @param string $expected * The expected machine name. * * @dataProvider providerTestGetMachineNameSuggestion() * @dataProvider providerTestGetMachineNameSuggestion */ public function testGetMachineNameSuggestion($label, $expected) { $module_handler = $this->createMock('Drupal\Core\Extension\ModuleHandlerInterface'); Loading Loading
core/modules/migrate/tests/src/Unit/process/LogTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ class LogTest extends MigrateProcessTestCase { /** * Tests the Log plugin. * * @dataProvider providerTestLog() * @dataProvider providerTestLog */ public function testLog($value, $expected_message) { // Test the expected log message. Loading
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -280,7 +280,7 @@ public function providerTestUserRole() { * contains the source role id, an array of valid permissions and an array * of invalid permissions. * * @dataProvider providerTestUserRole() * @dataProvider providerTestUserRole */ public function testUserRole(array $modules, array $migrations, array $role_data) { if ($modules) { Loading
core/phpstan-baseline.neon +0 −40 Original line number Diff line number Diff line Loading @@ -1850,11 +1850,6 @@ parameters: count: 1 path: modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php - message: "#^@dataProvider providerTestLog\\(\\) related method not found\\.$#" count: 1 path: modules/migrate/tests/src/Unit/process/LogTest.php - message: "#^Variable \\$sub_process_plugins might not be defined\\.$#" count: 2 Loading Loading @@ -2705,11 +2700,6 @@ parameters: count: 1 path: modules/user/tests/src/Functional/Views/UserChangedTest.php - message: "#^@dataProvider providerTestUserRole\\(\\) related method not found\\.$#" count: 1 path: modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php - message: "#^Variable \\$result in isset\\(\\) always exists and is not nullable\\.$#" count: 1 Loading Loading @@ -3520,11 +3510,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php - message: "#^@dataProvider providerTestValidateHex\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Component/Utility/ColorTest.php - message: "#^@coversDefaultClass defined on class method testHtmlClass\\.$#" count: 1 Loading Loading @@ -3575,11 +3560,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php - message: "#^@dataProvider providerTestGetMachineNameSuggestion\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Block/BlockBaseTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading Loading @@ -3645,16 +3625,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Controller/TitleResolverTest.php - message: "#^@dataProvider dataProviderTestCompileWithKnownOperators\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/ConditionTest.php - message: "#^@dataProvider providerSimpleCondition\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/ConditionTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading @@ -3680,11 +3650,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Database/OrderByTest.php - message: "#^@dataProvider providerTestExceptionMessage\\(\\) related method not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading Loading @@ -3730,11 +3695,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php - message: "#^@dataProvider providerTestGetTableMappingSimple\\(\\) related method not found\\.$#" count: 8 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 Loading
core/tests/Drupal/Tests/Component/Utility/ColorTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class ColorTest extends TestCase { * @param string $value * The hex color value. * * @dataProvider providerTestValidateHex() * @dataProvider providerTestValidateHex */ public function testValidateHex($expected, $value) { $this->assertSame($expected, Color::validateHex($value)); Loading
core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class BlockBaseTest extends UnitTestCase { * @param string $expected * The expected machine name. * * @dataProvider providerTestGetMachineNameSuggestion() * @dataProvider providerTestGetMachineNameSuggestion */ public function testGetMachineNameSuggestion($label, $expected) { $module_handler = $this->createMock('Drupal\Core\Extension\ModuleHandlerInterface'); Loading