Problem/Motivation

I upgrade to drush 13 and since I have this error when I execute drush :

Error: Class "DrupalFinder\DrupalFinder" not found in Drupal\dotenv\Commands\DotenvInitCommand->__construct() (line 48 of   /home/clients/xxxxxxx/sites/xxxxx/web/modules/contrib/dotenv/src/Commands/DotenvInitCommand.php).

webflo/drupal-finder is no longer require by drush/drush

Steps to reproduce

Upgrade to drush 13

Proposed resolution

Add webflo/drupal-finder as dependency in composer.json

Issue fork dotenv-3466616

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

notFloran created an issue. See original summary.

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

dieterholvoet’s picture

Status: Active » Needs review

@notFloran Could you check if the changes in this MR fix the issue for you?

  • DieterHolvoet committed 19cee166 on 1.2.x
    Issue #3466616 by DieterHolvoet, notFloran: Missing require for "webflo/...
dieterholvoet’s picture

Status: Needs review » Fixed

Never mind, since we're changing composer.json here patching won't work. I'll just merge this. Thanks for reporting!

notfloran’s picture

Thanks for this quick fix!

Status: Fixed » Closed (fixed)

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