Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Ignore HTTP response class templates #8603

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/Http/AttachmentDownloadResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@

use OCP\AppFramework\Http\DownloadResponse;

/**
* @psalm-suppress MissingTemplateParam
* @todo spec template with 28+
*/
class AttachmentDownloadResponse extends DownloadResponse {
/** @var string */
private $content;
Expand Down
4 changes: 4 additions & 0 deletions lib/Http/AvatarDownloadResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

use OCP\AppFramework\Http\DownloadResponse;

/**
* @psalm-suppress MissingTemplateParam
* @todo spec template with 28+
*/
class AvatarDownloadResponse extends DownloadResponse {
/** @var string */
private $content;
Expand Down
4 changes: 4 additions & 0 deletions lib/Http/HtmlResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@

use OCP\AppFramework\Http\Response;

/**
* @psalm-suppress MissingTemplateParam
* @todo spec template with 28+
*/
class HtmlResponse extends Response {
/** @var string */
private $content;
Expand Down
2 changes: 2 additions & 0 deletions lib/Http/JsonResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

/**
* @see https://github.com/omniti-labs/jsend
* @psalm-suppress MissingTemplateParam
* @todo spec template with 28+
*/
class JsonResponse extends Base {
public function __construct($data = [],
Expand Down
4 changes: 4 additions & 0 deletions lib/Http/ProxyDownloadResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
use DateTime;
use OCP\AppFramework\Http\DownloadResponse;

/**
* @psalm-suppress MissingTemplateParam
* @todo spec template with 28+
*/
class ProxyDownloadResponse extends DownloadResponse {
/** @var string */
private $content;
Expand Down