Skip to content

Commit

Permalink
fix: remove deprecated SetInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Jan 24, 2025
1 parent 6d3a501 commit b3b823c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 33 deletions.
24 changes: 0 additions & 24 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -155,27 +155,3 @@ parameters:
"""
count: 1
path: src/Drupal9/Rector/Deprecation/PassRector.php

-
message: """
#^Class DrupalRector\\\\Set\\\\Drupal10SetList implements deprecated interface Rector\\\\Set\\\\Contract\\\\SetListInterface\\:
This interface needs a reflection to load and uses constant links\\. Now we changed to services provider architecture that can be used and registerd easily\\. Use$#
"""
count: 1
path: src/Set/Drupal10SetList.php

-
message: """
#^Class DrupalRector\\\\Set\\\\Drupal8SetList implements deprecated interface Rector\\\\Set\\\\Contract\\\\SetListInterface\\:
This interface needs a reflection to load and uses constant links\\. Now we changed to services provider architecture that can be used and registerd easily\\. Use$#
"""
count: 1
path: src/Set/Drupal8SetList.php

-
message: """
#^Class DrupalRector\\\\Set\\\\Drupal9SetList implements deprecated interface Rector\\\\Set\\\\Contract\\\\SetListInterface\\:
This interface needs a reflection to load and uses constant links\\. Now we changed to services provider architecture that can be used and registerd easily\\. Use$#
"""
count: 1
path: src/Set/Drupal9SetList.php
4 changes: 1 addition & 3 deletions src/Set/Drupal10SetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace DrupalRector\Set;

use Rector\Set\Contract\SetListInterface;

final class Drupal10SetList implements SetListInterface
final class Drupal10SetList
{
public const DRUPAL_10 = __DIR__.'/../../config/drupal-10/drupal-10-all-deprecations.php';
public const DRUPAL_100 = __DIR__.'/../../config/drupal-10/drupal-10.0-deprecations.php';
Expand Down
4 changes: 1 addition & 3 deletions src/Set/Drupal8SetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace DrupalRector\Set;

use Rector\Set\Contract\SetListInterface;

final class Drupal8SetList implements SetListInterface
final class Drupal8SetList
{
public const DRUPAL_8 = __DIR__.'/../../config/drupal-8/drupal-8-all-deprecations.php';
public const DRUPAL_80 = __DIR__.'/../../config/drupal-8/drupal-8.0-deprecations.php';
Expand Down
4 changes: 1 addition & 3 deletions src/Set/Drupal9SetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace DrupalRector\Set;

use Rector\Set\Contract\SetListInterface;

final class Drupal9SetList implements SetListInterface
final class Drupal9SetList
{
public const DRUPAL_9 = __DIR__.'/../../config/drupal-9/drupal-9-all-deprecations.php';
public const DRUPAL_90 = __DIR__.'/../../config/drupal-9/drupal-9.0-deprecations.php';
Expand Down

0 comments on commit b3b823c

Please sign in to comment.