-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files listed in autoload['files'] error with Class not found in 2.2.0 #10383
Comments
load.environment.php looks like <?php
/**
* This file is included very early. See autoload.files in composer.json and
* https://getcomposer.org/doc/04-schema.md#files
*/
use Dotenv\Dotenv;
/**
* Load any .env file. See /.env.example.
*
* Drupal has no official method for loading environment variables and uses
* getenv() in some places.
*/
$dotenv = Dotenv::createUnsafeImmutable(__DIR__);
$dotenv->safeLoad(); |
@Seldaek I think the |
@reece-oliver workaround until the fix is done in composer: wrap the code in a |
Preventing self-update with |
Same issue in
I think this is a regression caused by #10279 |
Closing as duplicate of #10382 |
My
composer.json
:I am requiring:
When I run this command:
I get the following output:
And I expected this to happen:
If I downgrade from the new 2.2.0 release all works fine and command runs fine. Seems to do with something with files trying to be required before autoload now? Not 100% sure but definitely a regression from the previous release
The text was updated successfully, but these errors were encountered: