mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-21 03:37:56 -05:00
* Fix most PHPDocs errors Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types * Avoid func_get_args Use variadic syntax instead https://php.net/manual/functions.arguments#functions.variable-arg-list And avoid dynamic functions names when possible to more easily identify calls and unused functions. Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 * PHPStan level 3 * PHPStand level 4 * Update default to PHPStan level 4 * Towards level 5 * Fix level 4 regression * Towards level 5 * Pass PHPStan level 5 * Towards level 6 * Remove erronenous regression from changelog https://github.com/FreshRSS/FreshRSS/pull/4116
132 lines
2.2 KiB
PHP
132 lines
2.2 KiB
PHP
<?php
|
|
|
|
class FreshRSS_View extends Minz_View {
|
|
|
|
// Main views
|
|
public $callbackBeforeEntries;
|
|
public $callbackBeforeFeeds;
|
|
public $callbackBeforePagination;
|
|
public $categories;
|
|
public $category;
|
|
public $current_user;
|
|
public $entries;
|
|
public $entry;
|
|
public $feed;
|
|
public $feeds;
|
|
public $nbUnreadTags;
|
|
public $tags;
|
|
|
|
// Substriptions
|
|
public $default_category;
|
|
public $displaySlider;
|
|
public $load_ok;
|
|
public $onlyFeedsWithError;
|
|
public $signalError;
|
|
|
|
// Manage users
|
|
public $details;
|
|
public $disable_aside;
|
|
public $show_email_field;
|
|
public $username;
|
|
public $users;
|
|
|
|
// Updates
|
|
public $last_update_time;
|
|
public $status_files;
|
|
public $status_php;
|
|
public $update_to_apply;
|
|
public $status_database;
|
|
|
|
// Archiving
|
|
public $nb_total;
|
|
public $size_total;
|
|
public $size_user;
|
|
|
|
// Display
|
|
public $themes;
|
|
|
|
// Shortcuts
|
|
public $list_keys;
|
|
|
|
// User queries
|
|
/**
|
|
* @var array<int,FreshRSS_UserQuery>
|
|
*/
|
|
public $queries;
|
|
/**
|
|
* @var FreshRSS_UserQuery|null
|
|
*/
|
|
public $query;
|
|
|
|
// Export / Import
|
|
public $content;
|
|
public $entriesRaw;
|
|
public $entriesId;
|
|
public $entryIdsTagNames;
|
|
public $list_title;
|
|
public $queryId;
|
|
public $type;
|
|
|
|
// Form login
|
|
public $cookie_days;
|
|
public $nonce;
|
|
public $salt1;
|
|
|
|
// Registration
|
|
public $can_register;
|
|
public $preferred_language;
|
|
public $show_tos_checkbox;
|
|
public $terms_of_service;
|
|
|
|
// Email validation
|
|
public $site_title;
|
|
public $validation_url;
|
|
|
|
// Logs
|
|
public $currentPage;
|
|
public $logsPaginator;
|
|
public $nbPage;
|
|
|
|
// RSS view
|
|
public $rss_title;
|
|
public $url;
|
|
|
|
// Content preview
|
|
public $fatalError;
|
|
public $htmlContent;
|
|
public $selectorSuccess;
|
|
|
|
// Extensions
|
|
public $available_extensions;
|
|
public $ext_details;
|
|
public $extension_list;
|
|
public $extension;
|
|
public $extensions_installed;
|
|
|
|
// Errors
|
|
public $code;
|
|
public $errorMessage;
|
|
public $message;
|
|
|
|
// Statistics
|
|
public $average;
|
|
public $averageDayOfWeek;
|
|
public $averageHour;
|
|
public $averageMonth;
|
|
public $days;
|
|
public $entryByCategory;
|
|
public $entryCount;
|
|
public $feedByCategory;
|
|
public $hours24Labels;
|
|
public $idleFeeds;
|
|
public $last30DaysLabel;
|
|
public $last30DaysLabels;
|
|
public $months;
|
|
public $repartition;
|
|
public $repartitionDayOfWeek;
|
|
public $repartitionHour;
|
|
public $repartitionMonth;
|
|
public $topFeed;
|
|
|
|
}
|