Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactory ClientInterface & Client class #22

Merged
merged 65 commits into from
Oct 22, 2020
Merged

Refactory ClientInterface & Client class #22

merged 65 commits into from
Oct 22, 2020

Conversation

gomzyakov
Copy link
Contributor

@gomzyakov gomzyakov commented Oct 14, 2020

Description

Changed

  • Refactory ClientInterface & Client class

Fixes #20

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I wrote unit tests for my code (if tests is required for my changes)
  • I have made changes in CHANGELOG.md file

@gomzyakov gomzyakov marked this pull request as draft October 14, 2020 05:25
@codecov-io
Copy link

codecov-io commented Oct 14, 2020

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##              master       #22    +/-   ##
============================================
  Coverage     100.00%   100.00%            
- Complexity       479       588   +109     
============================================
  Files             34        42     +8     
  Lines           1180      1338   +158     
============================================
+ Hits            1180      1338   +158     
Flag Coverage Δ Complexity Δ
#php 100.00% <100.00%> (ø) 588.00 <137.00> (+109.00)

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

Impacted Files Coverage Δ Complexity Δ
src/Params/UserReportMakeParams.php 100.00% <ø> (ø) 22.00 <0.00> (?)
src/Client.php 100.00% <100.00%> (ø) 69.00 <52.00> (+24.00)
src/Params/DevPingParams.php 100.00% <100.00%> (ø) 3.00 <3.00> (?)
src/Params/DevTokenParams.php 100.00% <100.00%> (ø) 13.00 <13.00> (?)
src/Params/UserBalanceParams.php 100.00% <100.00%> (ø) 5.00 <5.00> (?)
src/Params/UserParams.php 100.00% <100.00%> (ø) 3.00 <3.00> (?)
src/Params/UserReportParams.php 100.00% <100.00%> (ø) 8.00 <8.00> (?)
src/Params/UserReportRefreshParams.php 100.00% <100.00%> (ø) 5.00 <5.00> (?)
src/Params/UserReportTypesParams.php 100.00% <100.00%> (ø) 24.00 <24.00> (?)
src/Params/UserReportsParams.php 100.00% <100.00%> (ø) 24.00 <24.00> (?)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31a3aa2...166276b. Read the comment docs.

src/Client.php Outdated Show resolved Hide resolved
@gomzyakov gomzyakov marked this pull request as ready for review October 14, 2020 07:26
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Client.php Outdated Show resolved Hide resolved
src/Params/DevPingParams.php Outdated Show resolved Hide resolved
gomzyakov and others added 4 commits October 21, 2020 22:42
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
CHANGELOG.md Outdated Show resolved Hide resolved
gomzyakov and others added 5 commits October 22, 2020 11:03
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
src/Client.php Outdated Show resolved Hide resolved
@tarampampam tarampampam merged commit bc8197e into avtocod:master Oct 22, 2020
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.

Update all API clent methods parameters (a lot of params -> single params object)
4 participants