Skip to content

撰写 README #6

Open
Open

Description

@shaunthegeek

codecov badge 要放上 https://app.codecov.io/gh/Coding/coding-sdk-php/

目前覆盖率 100% !

其余参考:https://github.com/aws/aws-sdk-php

Activity

  1. self-assigned this
    on Oct 23, 2021
  2. shaunthegeek commented on Oct 24, 2021

    @shaunthegeek
    MemberAuthor

    需要写使用例子,所以打 tag,尝试安装调用,发现 依赖注入自动绑定的方式 没法传递构造参数:

    public function handle(Iteration $iteration)
    {
      $iteration->create();
    }

    所以目前的写法不对:

    class Iteration
    {
        private Core $core;
    
        public function __construct(string $token, Core $core = null)
        {
            $this->core = $core ?? new Core($token);
        }
  3. added a commit that references this issue on Oct 24, 2021
    8c482fe
  4. shaunthegeek commented on Oct 24, 2021

    @shaunthegeek
    MemberAuthor

    调用报错:The goal must be a string. #8

    看来应该在本地安装调试,而不应该这么自信的直接打 tag

  5. added a commit that references this issue on Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions