Problem/Motivation

When upgrading to version 8.x-2.0beta4 I found that the `FeedTypeTamperManager` has mismatched dependency in `__construct` function

Steps to reproduce

- Install the `8.x-2.0beta4` version by command

composer require 'drupal/feeds_tamper:^2.0@beta'

- Take a look to the file `docroot/modules/contrib/feeds_tamper/src/FeedTypeTamperManager.php`
- See the error `Undefined type 'Drupal\Component\DependencyInjection\ContainerInterface'.`

Proposed resolution

- Correct dependency from

use Drupal\Component\DependencyInjection\ContainerInterface;

use Symfony\Component\DependencyInjection\ContainerInterface;

Remaining tasks

- N/A

User interface changes

- N/A

API changes

- N/A

Data model changes

- N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

khanh vuong created an issue. See original summary.

khanh vuong’s picture

Title: Mismatch dependencies » Mismatched dependencies
Issue summary: View changes
StatusFileSize
new291.32 KB
ananya.k’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB

I checked, and there are the same dependencies in other files as well. I have attached the patch. Please review it once.

megachriz made their first commit to this issue’s fork.

megachriz’s picture

Patches are unfortunately no longer evaluated by the testbot, so I moved your code changes to a Merge Request instead.

  • megachriz committed f4a66440 on 8.x-2.x
    Issue #3479271 by megachriz, ananya.k: Fixed mismatched dependencies:...
megachriz’s picture

Status: Needs review » Fixed

I merged the code!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ananya.k’s picture