kuzzleio / sdk-php

Official php SDK for Kuzzle
http://docs.kuzzle.io/sdk-reference
Apache License 2.0
6 stars 1 forks source link

[KZL-375] Server controller #97

Closed alexandrebouthinon closed 6 years ago

alexandrebouthinon commented 6 years ago

What does this PR do ?

Add refactored Server Controller with his unit tests

How should this be manually tested?

Run:

$ php ./vendor/bin/phpunit
$ php ./vendor/bin/phpcs -p -n --standard=PSR2 src
codecov-io commented 6 years ago

Codecov Report

Merging #97 into 4.x will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              4.x      #97      +/-   ##
==========================================
+ Coverage   91.75%   91.83%   +0.07%     
==========================================
  Files          17       18       +1     
  Lines        1565     1580      +15     
==========================================
+ Hits         1436     1451      +15     
  Misses        129      129
Impacted Files Coverage Δ
src/Server.php 100% <100%> (ø)
src/Kuzzle.php 92.28% <100%> (-0.7%) :arrow_down:

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 d30123d...8350758. Read the comment docs.