Update meme voting

This commit is contained in:
Bruno Rybársky 2024-04-27 11:55:33 +02:00
parent c4a79c9435
commit f3657fd341
18 changed files with 0 additions and 18 deletions

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
/** @noinspection PhpIncludeInspection */ /** @noinspection PhpIncludeInspection */
require_once 'secrets/config.php'; require_once 'secrets/config.php';
require_once 'lib/config.php'; require_once 'lib/config.php';

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
use Random\RandomException; use Random\RandomException;

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function loadRouterConfig(): array function loadRouterConfig(): array
{ {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function doDynamicStyling() :string function doDynamicStyling() :string
{ {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function runEndpoint($endpoint_file): ?array function runEndpoint($endpoint_file): ?array
{ {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function inlineLocalStylesFromHref($inputString): string function inlineLocalStylesFromHref($inputString): string
{ {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/upload.php"; require_once "lib/upload.php";
require_once "lib/account.php"; require_once "lib/account.php";

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function getDynamicMetadata($file): array{ function getDynamicMetadata($file): array{

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function getNewsArticles() :array function getNewsArticles() :array
{ {
global $mysqli; global $mysqli;

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/dynamic_style.php"; require_once "lib/dynamic_style.php";
require_once "lib/script_data.php"; require_once "lib/script_data.php";
function renderDynamicPage($page_file): array function renderDynamicPage($page_file): array

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function initRouter(): array function initRouter(): array

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function generateScriptData($phpArray):string { function generateScriptData($phpArray):string {
// Check if the array is associative and single-level // Check if the array is associative and single-level
if (is_array($phpArray) && count($phpArray) > 0 && count(array_filter(array_keys($phpArray), 'is_string')) === count($phpArray)) { if (is_array($phpArray) && count($phpArray) > 0 && count(array_filter(array_keys($phpArray), 'is_string')) === count($phpArray)) {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/account.php"; require_once "lib/account.php";

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
function makePathSafe($userInput): string function makePathSafe($userInput): string
{ {

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/router.php"; require_once "lib/router.php";
require_once "lib/account.php"; require_once "lib/account.php";

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/router.php"; require_once "lib/router.php";
require_once "lib/account.php"; require_once "lib/account.php";

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/router.php"; require_once "lib/router.php";
require_once "lib/meme.php"; require_once "lib/meme.php";

@ -1,5 +1,4 @@
<?php <?php
declare(strict_types=1);
require_once "lib/router.php"; require_once "lib/router.php";
require_once "lib/newsarticle.php"; require_once "lib/newsarticle.php";