Skip to content

Adapt circuit-breaker component to support php8.#3694

Merged
limingxinleo merged 3 commits intohyperf:2.2from
limingxinleo:2.2-cb
Jun 11, 2021
Merged

Adapt circuit-breaker component to support php8.#3694
limingxinleo merged 3 commits intohyperf:2.2from
limingxinleo:2.2-cb

Conversation

@limingxinleo
Copy link
Copy Markdown
Member

No description provided.

@limingxinleo limingxinleo merged commit 08f9a78 into hyperf:2.2 Jun 11, 2021
@limingxinleo limingxinleo deleted the 2.2-cb branch June 11, 2021 03:01
}

public function incFailCounter(): int
public function incrFailCounter(): int
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里 Changelog 要明确标记下,这个是 BC

}

protected function switch(CircuitBreaker $breaker, Annotation $annotation, bool $status)
protected function switch(CircuitBreakerInterface $breaker, Annotation $annotation, bool $status): void
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 Typehint 的改动应该也是需要在 changelog 标记出来的

@limingxinleo
Copy link
Copy Markdown
Member Author

嗯,我后面加上

limingxinleo added a commit to limingxinleo/hyperf that referenced this pull request Jun 15, 2021
limingxinleo added a commit to limingxinleo/hyperf that referenced this pull request Jun 15, 2021
limingxinleo added a commit to limingxinleo/hyperf that referenced this pull request Jun 15, 2021
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

Successfully merging this pull request may close these issues.

2 participants