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

Add missing console commands for client management #41

Merged
merged 37 commits into from
May 7, 2019
Merged

Add missing console commands for client management #41

merged 37 commits into from
May 7, 2019

Conversation

Allypost
Copy link
Contributor

Fix #3

Command/DeleteClientCommand.php Outdated Show resolved Hide resolved
Command/DeleteClientCommand.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Manager/ClientFilter.php Outdated Show resolved Hide resolved
Manager/ClientFilter.php Outdated Show resolved Hide resolved
Manager/ClientManagerInterface.php Outdated Show resolved Hide resolved
Manager/Doctrine/ClientManager.php Outdated Show resolved Hide resolved
Manager/InMemory/ClientManager.php Outdated Show resolved Hide resolved
Manager/InMemory/ClientManager.php Outdated Show resolved Hide resolved
Tests/Acceptance/ListClientsCommandTest.php Show resolved Hide resolved
@@ -9,4 +9,11 @@ interface ClientManagerInterface
public function find(string $identifier): ?Client;

public function save(Client $client): void;

public function remove(Client $client): void;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Allypost @spideyfusion Adding methods to an interface is a breaking change and as such this PR can be merged only for the next major version which I suppose will be tagged soon after #43 gets merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@X-Coder264 Yeah this will get merged after the version bump.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Allypost My point was this should be merged before the next major version gets tagged. Anyway, this discussion isn't important for this PR, @spideyfusion will take care of that :)

Copy link
Contributor

Choose a reason for hiding this comment

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

@X-Coder264 Indeed. :)

Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Manager/ClientFilter.php Outdated Show resolved Hide resolved
Manager/ClientManagerInterface.php Outdated Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
Tests/Acceptance/DeleteClientCommandTest.php Outdated Show resolved Hide resolved
Manager/ClientFilter.php Outdated Show resolved Hide resolved
Manager/ClientFilter.php Show resolved Hide resolved
Command/ListClientsCommand.php Outdated Show resolved Hide resolved
@codecov-io
Copy link

Codecov Report

Merging #41 into master will increase coverage by 0.85%.
The diff coverage is 86.62%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #41      +/-   ##
============================================
+ Coverage     88.93%   89.78%   +0.85%     
- Complexity      222      264      +42     
============================================
  Files            39       42       +3     
  Lines           759      901     +142     
============================================
+ Hits            675      809     +134     
- Misses           84       92       +8
Impacted Files Coverage Δ Complexity Δ
Manager/InMemory/ClientManager.php 19.04% <0%> (-80.96%) 12 <9> (+9)
Command/DeleteClientCommand.php 100% <100%> (ø) 4 <4> (?)
Command/UpdateClientCommand.php 96.22% <100%> (ø) 5 <3> (ø) ⬇️
Manager/ClientFilter.php 100% <100%> (ø) 12 <12> (?)
Command/CreateClientCommand.php 100% <100%> (ø) 4 <1> (ø) ⬇️
Manager/Doctrine/ClientManager.php 92.85% <90.47%> (-7.15%) 14 <10> (+10)
Command/ListClientsCommand.php 96.77% <96.77%> (ø) 7 <7> (?)
... and 3 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 38f6641...f58c052. Read the comment docs.

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.

Add console commands for client management
5 participants