From 165eea11b1bfb768f35084bf9083f70a3e62ba98 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 10 Jan 2023 21:21:26 +0000 Subject: [PATCH] all the strict_types --- .php-cs-fixer.dist.php | 4 +--- core/install.php | 3 +++ ext/download/events.php | 2 ++ ext/download/info.php | 2 ++ ext/download/main.php | 2 ++ ext/upload/config.php | 2 ++ tests/defines.php | 2 ++ tests/router.php | 2 ++ themes/rule34v2/home.theme.php | 4 +++- themes/rule34v2/index.theme.php | 2 ++ themes/rule34v2/tag_edit.theme.php | 2 ++ themes/rule34v2/themelet.class.php | 2 ++ themes/rule34v2/upload.theme.php | 2 ++ 13 files changed, 27 insertions(+), 4 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index f2bd1ae1..f0d116ab 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -14,6 +14,4 @@ return $config->setRules([ 'array_syntax' => ['syntax' => 'short'], ]) ->setFinder($finder) -; - -?> +; \ No newline at end of file diff --git a/core/install.php b/core/install.php index eff930c0..bee62aa7 100644 --- a/core/install.php +++ b/core/install.php @@ -1,4 +1,7 @@ set_mode("data"); + $page->set_mode(PageMode::DATA); $page->add_auto_html_headers(); $hh = $page->get_all_html_headers(); $page->set_data( diff --git a/themes/rule34v2/index.theme.php b/themes/rule34v2/index.theme.php index 1d9091b8..7ab04133 100644 --- a/themes/rule34v2/index.theme.php +++ b/themes/rule34v2/index.theme.php @@ -1,5 +1,7 @@