Skip to content

Commit

Permalink
Remove src/Drupal/DrupalKernelTrait.php (#5981)
Browse files Browse the repository at this point in the history
* Remove src/Drupal/DrupalKernelTrait.php

* Update baseline
  • Loading branch information
weitzman committed May 4, 2024
1 parent f98235d commit 4893f27
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 113 deletions.
15 changes: 0 additions & 15 deletions phpstan-baseline.neon
Expand Up @@ -4,18 +4,3 @@ parameters:
message: "#^Call to an undefined method Drupal\\\\migrate\\\\Plugin\\\\MigrationInterface\\:\\:set\\(\\)\\.$#"
count: 1
path: src/Commands/core/MigrateRunnerCommands.php

-
message: "#^Call to an undefined method Drupal\\\\Core\\\\DependencyInjection\\\\ServiceModifierInterface\\:\\:check\\(\\)\\.$#"
count: 1
path: src/Drupal/DrupalKernel.php

-
message: "#^Call to an undefined method Drupal\\\\Core\\\\DependencyInjection\\\\ServiceModifierInterface\\:\\:check\\(\\)\\.$#"
count: 1
path: src/Drupal/InstallerKernel.php

-
message: "#^Call to an undefined method Drupal\\\\Core\\\\DependencyInjection\\\\ServiceModifierInterface\\:\\:check\\(\\)\\.$#"
count: 1
path: src/Drupal/UpdateKernel.php
2 changes: 1 addition & 1 deletion src/Drupal/DrupalKernel.php
Expand Up @@ -11,5 +11,5 @@
*/
class DrupalKernel extends DrupalDrupalKernel
{
use DrupalKernelTrait;
// Nothing here anymore, but kept in case we need it later.
}
95 changes: 0 additions & 95 deletions src/Drupal/DrupalKernelTrait.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Drupal/InstallerKernel.php
Expand Up @@ -11,5 +11,5 @@
*/
class InstallerKernel extends DrupalInstallerKernel
{
use DrupalKernelTrait;
// Nothing here anymore, but kept in case we need it later.
}
2 changes: 1 addition & 1 deletion src/Drupal/UpdateKernel.php
Expand Up @@ -11,5 +11,5 @@
*/
class UpdateKernel extends DrupalUpdateKernel
{
use DrupalKernelTrait;
// Nothing here anymore, but kept in case we need it later.
}

0 comments on commit 4893f27

Please sign in to comment.