aboutsummaryrefslogtreecommitdiff
path: root/app/actualize_script.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-03-26 23:19:41 +0200
committerGravatar GitHub <noreply@github.com> 2023-03-26 23:19:41 +0200
commitf3af3f0f3d4da8023c5e918545d47a51afc4b6c1 (patch)
tree4d2f4e92b45c3f627949f390d9ab0f48adceff71 /app/actualize_script.php
parent05e10f0e757bcb381e84ad3b2dccd2738e29ff08 (diff)
Automated test towards PHPStan level 6 (#5230)
* Automated test towards PHPStan level 6 Contributes to https://github.com/FreshRSS/FreshRSS/issues/4112 With this automated tests, files that are passing Level 6 are tested to avoid regressions towards Level 5 (which is the current baseline for the whole code-base) It is included when calling `make test-all` or can be called specifically by `composer run-script phpstan-next` * Test and example with 3 new passing files
Diffstat (limited to 'app/actualize_script.php')
-rwxr-xr-xapp/actualize_script.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/actualize_script.php b/app/actualize_script.php
index bad466e64..8e445b1e7 100755
--- a/app/actualize_script.php
+++ b/app/actualize_script.php
@@ -25,7 +25,7 @@ define('SIMPLEPIE_SYSLOG_ENABLED', FreshRSS_Context::$system_conf->simplepie_sys
* Writes to FreshRSS admin log, and if it is not already done by default,
* writes to syslog (only if simplepie_syslog_enabled in FreshRSS configuration) and to STDOUT
*/
-function notice($message) {
+function notice(string $message): void {
Minz_Log::notice($message, ADMIN_LOG);
// @phpstan-ignore-next-line
if (!COPY_LOG_TO_SYSLOG && SIMPLEPIE_SYSLOG_ENABLED) {