mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-25 15:49:18 -04:00
updating lint rules for test code
This commit is contained in:
1 parent
24798a80d1
commit
089ccc1ca3
45 files changed
+2914
-1151
No files matched your search
@@ -49,7 +49,7 @@ class CapabilitiesContext implements Context {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function before(BeforeScenarioScope $scope):void {
|
||||
public function before(BeforeScenarioScope $scope): void {
|
||||
// Get the environment
|
||||
$environment = $scope->getEnvironment();
|
||||
// Get all the contexts you need in this context
|
||||
@@ -164,7 +164,7 @@ class CapabilitiesContext implements Context {
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function checkVersionMajorMinorMicroResponse():void {
|
||||
public function checkVersionMajorMinorMicroResponse(): void {
|
||||
$jsonResponse = $this->featureContext->getJsonDecodedResponseBodyContent();
|
||||
$versionData = $jsonResponse->ocs->data->version;
|
||||
$versionString = (string) $versionData->string;
|
||||
|
||||
Reference in new issue
Block a user