Skip to content

Commit

Permalink
Issue CollaboraOnline#43: Normalize blank lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Nov 11, 2024
1 parent d598b2b commit ee27c91
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collabora_online.module
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -69,7 +70,6 @@ function collabora_online_theme($existing, $type, $theme, $path) {
'file' => 'collabora_online.theme.inc',
],
];

}

/**
Expand Down
1 change: 1 addition & 0 deletions src/CollaboraMediaPermissions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Controller/ViewerController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -86,4 +87,5 @@ public function editor(Media $media, $edit = false) {

return $response;
}

}
4 changes: 4 additions & 0 deletions src/Controller/WopiController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -261,8 +262,10 @@ public function wopi(string $action, string $id, Request $request) {
switch ($action) {
case 'info':
return $this->wopiCheckFileInfo($id, $request);

case 'content':
return $this->wopiGetFile($id, $request);

case 'save':
return $this->wopiPutFile($id, $request);
}
Expand All @@ -274,4 +277,5 @@ public function wopi(string $action, string $id, Request $request) {
);
return $response;
}

}
2 changes: 2 additions & 0 deletions src/Cool/CoolRequest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -174,4 +175,5 @@ public function getWopiClientURL() {

return $this->wopi_src;
}

}
2 changes: 1 addition & 1 deletion src/Cool/CoolUtils.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -276,5 +277,4 @@ public static function getViewerRender(Media $media, bool $can_write, $options =
return $render_array;
}


}
2 changes: 2 additions & 0 deletions src/Form/ConfigForm.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -103,4 +104,5 @@ public function submitForm(array &$form, FormStateInterface $form_state) {

parent::submitForm($form, $form_state);
}

}
2 changes: 2 additions & 0 deletions src/Plugin/Field/FieldFormatter/CoolPreview.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down Expand Up @@ -74,4 +75,5 @@ public function viewElements(FieldItemListInterface $items, $langcode) {
}
return $elements;
}

}
1 change: 1 addition & 0 deletions tests/src/Functional/AccessTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down
1 change: 1 addition & 0 deletions tests/src/Functional/PermissionTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright the Collabora Online contributors.
*
Expand Down

0 comments on commit ee27c91

Please sign in to comment.