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

Conversation

@alies-dev
Copy link
Collaborator

$update->getMessage() always returns Collection instance or child of this class, that makes code less predictable due to a lot of magic inside the Collection class. This PR focuses on improving findDialogKeyForStore to make it more readable for developers and static analyzers.

Please merge it after merging "Add more tests for all types of Updates (incl. json fixtures) #32" (as we firstly need to have a great test coverage for all possible Update types)

@alies-dev alies-dev self-assigned this Nov 17, 2024
@codecov
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.15%. Comparing base (30bcfb8) to head (f6141a6).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #33      +/-   ##
============================================
+ Coverage     42.95%   43.15%   +0.19%     
  Complexity       99       99              
============================================
  Files             9        9              
  Lines           291      292       +1     
============================================
+ Hits            125      126       +1     
  Misses          166      166              
Flag Coverage Δ
phpunit 43.15% <100.00%> (+0.19%) ⬆️

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.

@alies-dev alies-dev closed this Nov 17, 2024
@alies-dev alies-dev deleted the better-findDialogKeyForStore branch November 17, 2024 17:36
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