mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04: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
27 lines
403 B
PHP
27 lines
403 B
PHP
<?php
|
|
|
|
interface I18nValidatorInterface {
|
|
|
|
/**
|
|
* Display the validation result.
|
|
* Empty if there are no errors.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function displayResult();
|
|
|
|
/**
|
|
* @param array $ignore Keys to ignore for validation
|
|
* @return bool
|
|
*/
|
|
public function validate($ignore);
|
|
|
|
/**
|
|
* Display the validation report.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function displayReport();
|
|
|
|
}
|