Skip to content
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

Deprecation Notice: Class #8

Open
okami-chen opened this issue Apr 20, 2020 · 4 comments
Open

Deprecation Notice: Class #8

okami-chen opened this issue Apr 20, 2020 · 4 comments

Comments

@okami-chen
Copy link

Deprecation Notice: Class Hanson\LaravelAdminWechat\Http\Controllers\Api\Mini\OrderController located in ./vendor/hanson/laravel-admin-wechat/src/Http/Controllers/Api/Payment/OrderController.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Stack trace:
 phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:116
 phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:355
 phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:341
 phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:264
 phar:///usr/local/bin/composer/src/Composer/Installer.php:307
 phar:///usr/local/bin/composer/src/Composer/Command/RequireCommand.php:248
 phar:///usr/local/bin/composer/src/Composer/Command/RequireCommand.php:205
 phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
 phar:///usr/local/bin/composer/src/Composer/Console/Application.php:281
 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
 phar:///usr/local/bin/composer/src/Composer/Console/Application.php:113
 phar:///usr/local/bin/composer/bin/composer:61
 /usr/local/bin/composer:24
@Hanson
Copy link
Owner

Hanson commented Apr 20, 2020

看看跟 composer 版本有没有关系,查一下自己的 composer 版本是多少

@okami-chen
Copy link
Author

看看跟 composer 版本有没有关系,查一下自己的 composer 版本是多少

Composer version 1.10.5 2020-04-10 11:44:22

@harryhoga
Copy link

一样的错误
Composer version 1.10.5 2020-04-10 11:44:22

@Hanson
Copy link
Owner

Hanson commented Apr 20, 2020

@okami-chen @harryhoga 最新版本已修复,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants