Loading core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -3426,11 +3426,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Entity/EntityUrlTest.php - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" count: 1 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php - message: """ #^Call to deprecated method expectError\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: Loading core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +5 −5 Original line number Diff line number Diff line Loading @@ -1536,12 +1536,12 @@ public function testonEntityTypeUpdateWithNewIndex() { ]); // The original indexes should be dropped before the new one is added. $this->dbSchemaHandler->expects($this->exactly(3)) $indexes = ['entity_test__b588603cb9', 'entity_test__removed_field', 'entity_test__b588603cb9']; $this->dbSchemaHandler->expects($this->exactly(count($indexes))) ->method('dropIndex') ->withConsecutive( ['entity_test', 'entity_test__b588603cb9'], ['entity_test', 'entity_test__removed_field'], ); ->with('entity_test', $this->callback(function ($index) use (&$indexes) { return array_shift($indexes) === $index; })); $this->dbSchemaHandler->expects($this->atLeastOnce()) ->method('fieldExists') Loading Loading
core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -3426,11 +3426,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Core/Entity/EntityUrlTest.php - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" count: 1 path: tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php - message: """ #^Call to deprecated method expectError\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: Loading
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +5 −5 Original line number Diff line number Diff line Loading @@ -1536,12 +1536,12 @@ public function testonEntityTypeUpdateWithNewIndex() { ]); // The original indexes should be dropped before the new one is added. $this->dbSchemaHandler->expects($this->exactly(3)) $indexes = ['entity_test__b588603cb9', 'entity_test__removed_field', 'entity_test__b588603cb9']; $this->dbSchemaHandler->expects($this->exactly(count($indexes))) ->method('dropIndex') ->withConsecutive( ['entity_test', 'entity_test__b588603cb9'], ['entity_test', 'entity_test__removed_field'], ); ->with('entity_test', $this->callback(function ($index) use (&$indexes) { return array_shift($indexes) === $index; })); $this->dbSchemaHandler->expects($this->atLeastOnce()) ->method('fieldExists') Loading