Skip to content

Commit 5dbfd9d

Browse files
committed
Minor updates and dependencies upgrade.
1 parent 045ce70 commit 5dbfd9d

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ composer.lock
1111
.php-cs-fixer.cache
1212

1313
.phpunit.result.cache
14+
coverage/

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@
2727
"ext-curl": "*",
2828
"ext-simplexml": "*",
2929
"ext-mbstring": "*",
30-
"marc-mabe/php-enum": "^4.7.0"
30+
"marc-mabe/php-enum": "^v4.7.0"
3131
},
3232
"require-dev": {
33-
"phpunit/phpunit": "^9.6.4",
34-
"fakerphp/faker": "^1.21",
35-
"friendsofphp/php-cs-fixer": "^3.13.4",
33+
"phpunit/phpunit": "^9.6.8",
34+
"fakerphp/faker": "^v1.22.0",
35+
"friendsofphp/php-cs-fixer": "^v3.16.0",
3636
"squizlabs/php_codesniffer": "^3.7.2",
3737
"phploc/phploc": "^7.0.2",
3838
"nunomaduro/phpinsights": "^v2.7.0",
3939
"bmitch/churn-php": "^1.7.1",
4040
"phpmetrics/phpmetrics": "^v2.8.1",
41-
"wapmorgan/php-deprecation-detector": "^2.0.29"
41+
"wapmorgan/php-deprecation-detector": "^2.0.33"
4242
},
4343
"scripts": {
4444
"test": "./vendor/bin/phpunit",

src/Parameters/JoinMeetingParameters.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,10 @@ public function getHTTPQuery()
442442
foreach ($this->customParameters as $key => $value) {
443443
$queries[$key] = $value;
444444
}
445-
446-
if(!$this->guest){
447-
unset($queries['guest']);
448-
}
445+
446+
if (!$this->guest) {
447+
unset($queries['guest']);
448+
}
449449
$this->buildUserData($queries);
450450

451451
return $this->buildHTTPQuery($queries);

tests/Responses/InsertDocumentResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function testInsertDocumentResponseContent()
5252
public function testInsertDocumentResponseTypes()
5353
{
5454
$this->assertEachGetterValueIsString($this->insertDocument, ['getReturnCode']);
55-
$this->assertEachGetterValueIsBoolean($this->insertDocument, ['getMessage']);
55+
$this->assertEachGetterValueIsString($this->insertDocument, ['getMessage']);
5656
}
5757
}

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ protected function getJoinMeetingMock($params)
335335

336336
return $joinMeetingParams->setUserId($params['userId'])->setWebVoiceConf($params['webVoiceConf'])
337337
->setCreationTime($params['creationTime'])->addUserData('countrycode', $params['userdata_countrycode'])
338-
->setRole($params['role'])->addUserData('email', $params['userdata_email'])->addUserData('commercial', $params['userdata_commercial']);
338+
->setRole($params['role'])->addUserData('email', $params['userdata_email'])->addUserData('commercial', $params['userdata_commercial'])
339+
;
339340
}
340341

341342
/**

0 commit comments

Comments
 (0)