Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added in fix to complete coverages (#16)
* Railsbank config test * Railsbank test and configuration test * No mode test * Added in Railsbank command test
- Loading branch information
1 parent
2511a70
commit cc78a17
Showing
21 changed files
with
474 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
namespace Railsbank\Query\Me; | ||
|
||
use Railsbank\Command; | ||
use Railsbank\CommandInterface; | ||
use Railsbank\Query\QueryInterface; | ||
|
||
class PHPVersion extends Command implements CommandInterface, QueryInterface | ||
{ | ||
public function getInputFilterSpecification() : array | ||
{ | ||
return []; | ||
} | ||
|
||
public function getBody() :? array | ||
{ | ||
return []; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ public function getInputFilterSpecification() : array | |
|
||
public function getBody() | ||
{ | ||
// | ||
return []; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Railsbank\QueryHandler\Me; | ||
|
||
use Railsbank\Handler; | ||
use Railsbank\Query\Me\PHPVersion; | ||
use Railsbank\RailsbankClient; | ||
use Railsbank\Query\Me\Information; | ||
|
||
/** | ||
* Class PHPVersionHandler | ||
* @package Railsbank\QueryHandler\Me | ||
*/ | ||
class PHPVersionHandler extends Handler | ||
{ | ||
/** | ||
* @param PHPVersion $command | ||
* @return string|null | ||
*/ | ||
public function handlePHPVersion(PHPVersion $command) | ||
{ | ||
return \phpversion('tidy'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.