这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@alies-dev
Copy link
Collaborator

@alies-dev alies-dev commented Nov 20, 2024

I found some method names confusing (especially 2 proceed methods in Dialog and DialogManager), some names were not correct from an English grammar standpoint. In this PR I renamed them, plus added UPGRADE.md file.

Other updated docs:

Issues

- Same method name at different abstraction levels
- Potential confusion for developers who may try to call Dialog::proceed directly
- Internal implementation detail sharing name with public API
@alies-dev alies-dev self-assigned this Nov 20, 2024
@codecov
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 40.81633% with 29 lines in your changes missing coverage. Please review.

Project coverage is 51.77%. Comparing base (a75ae70) to head (d6b8858).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
src/DialogManager.php 22.58% 24 Missing ⚠️
src/Dialog.php 72.22% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #35      +/-   ##
============================================
- Coverage     53.24%   51.77%   -1.47%     
- Complexity       99      107       +8     
============================================
  Files             9        9              
  Lines           293      309      +16     
============================================
+ Hits            156      160       +4     
- Misses          137      149      +12     
Flag Coverage Δ
phpunit 51.77% <40.81%> (-1.47%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@alies-dev alies-dev marked this pull request as ready for review November 20, 2024 11:30
@alies-dev alies-dev merged commit 8720aed into master Nov 20, 2024
13 of 16 checks passed
@alies-dev alies-dev deleted the cleaner-method-names branch November 20, 2024 18:45
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