aliyun / aliyun/openapi-sdk-php

composer2提示以下警告 版本1.8.895以上

Open
#190 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
530
Forks
110
PR merge metrics
No merged PRs in 30d

Description

  • PHP Version: 7.2
  • Platform: mac
  • Product: sdk
  • Product Version: 1.8.895
  • API:

composer2提示以下警告 版本1.8.895以上,大小写问题吧.修复下吧

Class AlibabaCloud\imm\imm located in ./vendor/alibabacloud/sdk/src/Imm/Imm.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\ocr\ocr located in ./vendor/alibabacloud/sdk/src/Ocr/Ocr.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\facebody\facebody located in ./vendor/alibabacloud/sdk/src/Facebody/Facebody.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\imageprocess\imageprocess located in ./vendor/alibabacloud/sdk/src/Imageprocess/Imageprocess.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\dcdn\dcdn located in ./vendor/alibabacloud/sdk/src/Dcdn/Dcdn.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\sgw\sgw located in ./vendor/alibabacloud/sdk/src/Sgw/Sgw.php does not comply with psr-4 autoloading standard. Skipping.
Class AlibabaCloud\codeup\codeup located in ./vendor/alibabacloud/sdk/src/Codeup/Codeup.php does not comply with psr-4 autoloading standard. Skipping.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the listed files under vendor/alibabacloud/sdk/src, including Imm/Imm.php, Ocr/Ocr.php, and Facebody/Facebody.php, and inspect how their class names correspond to the PSR-4 paths. Reproduce the Composer 2 warnings with SDK version 1.8.895, then verify that the affected classes load without PSR-4 warnings after the naming or mapping issue is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.