Skip to content

Commit

Permalink
Fix HEAD test fails due to spacing (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman authored Apr 2, 2021
1 parent d5edede commit 8865b53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/src/DeprecationRulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public function dataDeprecatedSamples(): \Generator
[
'Call to deprecated method url() of class Drupal:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Instead create a \Drupal\Core\Url object directly, for example using
Url::fromRoute().',
Instead create a \Drupal\Core\Url object directly, for example using
Url::fromRoute().',
'\Drupal calls should be avoided in classes, use dependency injection instead',
]
];
Expand Down
4 changes: 2 additions & 2 deletions tests/src/DrupalIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public function testServiceMapping8()
'Call to an undefined method Drupal\Core\Entity\EntityManager::thisMethodDoesNotExist().',
'Call to deprecated method getDefinitions() of class Drupal\\Core\\Entity\\EntityManager:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \\Drupal\\Core\\Entity\\EntityTypeManagerInterface::getDefinitions()
instead.'
Use \\Drupal\\Core\\Entity\\EntityTypeManagerInterface::getDefinitions()
instead.'
];
$errors = $this->runAnalyze(__DIR__ . '/../fixtures/drupal/modules/phpstan_fixtures/src/TestServicesMappingExtension.php');
$this->assertCount(3, $errors->getErrors());
Expand Down

0 comments on commit 8865b53

Please sign in to comment.