Skip to content

Commit 2d281ef

Browse files
committed
test: fix php code style
1 parent 2d4b602 commit 2d281ef

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

tests/acceptance/TestHelpers/CollaborationHelper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
* A helper class for managing wopi requests
3030
*/
3131
class CollaborationHelper {
32-
3332
/**
3433
* @param string $fileId
3534
* @param string $app

tests/acceptance/TestHelpers/HttpRequestHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,10 @@ public static function sendScenarioLineReferencesInXRequestId(): bool {
677677
* @return bool
678678
*/
679679
public static function getXRequestIdRegex(): string {
680-
if (self::sendScenarioLineReferencesInXRequestId()){
680+
if (self::sendScenarioLineReferencesInXRequestId()) {
681681
return '/^[a-zA-Z]+\/[a-zA-Z]+\.feature:\d+(-\d+)?$/';
682682
}
683683
$host = gethostname();
684684
return "/^$host\/.*$/";
685-
}
685+
}
686686
}

tests/acceptance/bootstrap/SpacesContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,7 @@ public function asUsertheXMLResponseShouldContainMountpointWithTheseKeyAndValueP
38283828
*/
38293829
public function theXMLResponseShouldContain(string $spaceNameOrMountPoint, TableNode $table): void {
38303830
$xmlResponse = $this->featureContext->getResponseXml();
3831-
$hrefs = array_map(fn($href) => $href->__toString(), $xmlResponse->xpath("//d:response/d:href"));
3831+
$hrefs = array_map(fn ($href) => $href->__toString(), $xmlResponse->xpath("//d:response/d:href"));
38323832

38333833
$currentHref = '';
38343834
foreach ($hrefs as $href) {

0 commit comments

Comments
 (0)