Skip to content

Commit 8865b53

Browse files
authored
Fix HEAD test fails due to spacing (#169)
1 parent d5edede commit 8865b53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/src/DeprecationRulesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public function dataDeprecatedSamples(): \Generator
2828
[
2929
'Call to deprecated method url() of class Drupal:
3030
in drupal:8.0.0 and is removed from drupal:9.0.0.
31-
Instead create a \Drupal\Core\Url object directly, for example using
32-
Url::fromRoute().',
31+
Instead create a \Drupal\Core\Url object directly, for example using
32+
Url::fromRoute().',
3333
'\Drupal calls should be avoided in classes, use dependency injection instead',
3434
]
3535
];

tests/src/DrupalIntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function testServiceMapping8()
8686
'Call to an undefined method Drupal\Core\Entity\EntityManager::thisMethodDoesNotExist().',
8787
'Call to deprecated method getDefinitions() of class Drupal\\Core\\Entity\\EntityManager:
8888
in drupal:8.0.0 and is removed from drupal:9.0.0.
89-
Use \\Drupal\\Core\\Entity\\EntityTypeManagerInterface::getDefinitions()
90-
instead.'
89+
Use \\Drupal\\Core\\Entity\\EntityTypeManagerInterface::getDefinitions()
90+
instead.'
9191
];
9292
$errors = $this->runAnalyze(__DIR__ . '/../fixtures/drupal/modules/phpstan_fixtures/src/TestServicesMappingExtension.php');
9393
$this->assertCount(3, $errors->getErrors());

0 commit comments

Comments
 (0)