[Scummvm-git-logs] scummvm-web master -> f25dbcc8fa34e8b6c815054b04c95393e4465b1b
Thunderforge
noreply at scummvm.org
Wed May 24 23:43:20 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
f25dbcc8fa WEB: Removing unused imports
Commit: f25dbcc8fa34e8b6c815054b04c95393e4465b1b
https://github.com/scummvm/scummvm-web/commit/f25dbcc8fa34e8b6c815054b04c95393e4465b1b
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2023-05-24T18:42:56-05:00
Commit Message:
WEB: Removing unused imports
Changed paths:
include/FileUtils.php
include/LocalizationUtils.php
include/Models/DownloadsModel.php
include/Models/SimpleModel.php
include/Models/VersionsModel.php
include/Pages/StaticPage.php
diff --git a/include/FileUtils.php b/include/FileUtils.php
index ad190b7d..1d152b35 100644
--- a/include/FileUtils.php
+++ b/include/FileUtils.php
@@ -2,7 +2,6 @@
namespace ScummVM;
use DateTime;
-use DateTimeInterface;
/**
* Utility functions related to files on a file system.
diff --git a/include/LocalizationUtils.php b/include/LocalizationUtils.php
index e4dadecf..b668d5f1 100644
--- a/include/LocalizationUtils.php
+++ b/include/LocalizationUtils.php
@@ -4,8 +4,6 @@ namespace ScummVM;
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../include/Constants.php';
-use ScummVM\Objects\News;
-use ScummVM\Models\NewsModel;
use Spatie\YamlFrontMatter\YamlFrontMatter;
use Erusev\Parsedown;
diff --git a/include/Models/DownloadsModel.php b/include/Models/DownloadsModel.php
index bb3fb90d..2d73aa0f 100644
--- a/include/Models/DownloadsModel.php
+++ b/include/Models/DownloadsModel.php
@@ -6,7 +6,6 @@ use ScummVM\FileUtils;
use ScummVM\Objects\DownloadsSection;
use DeviceDetector\Parser\OperatingSystem as OsParser;
use ScummVM\OrmObjects\DownloadQuery;
-use Propel\Runtime\ActiveQuery\Criteria;
/**
* The DownloadsModel will produce DownloadsSection objects.
diff --git a/include/Models/SimpleModel.php b/include/Models/SimpleModel.php
index 0ca6b625..7b43944d 100644
--- a/include/Models/SimpleModel.php
+++ b/include/Models/SimpleModel.php
@@ -1,8 +1,6 @@
<?php
namespace ScummVM\Models;
-use Symfony\Component\Yaml\Yaml;
-
/**
* The SimpleModel is used automatically create simple models
* that do not require any special handling
diff --git a/include/Models/VersionsModel.php b/include/Models/VersionsModel.php
index 575a4082..83ea72b4 100644
--- a/include/Models/VersionsModel.php
+++ b/include/Models/VersionsModel.php
@@ -1,7 +1,6 @@
<?php
namespace ScummVM\Models;
-use ScummVM\OrmObjects\Version;
use ScummVM\OrmObjects\VersionQuery;
/**
diff --git a/include/Pages/StaticPage.php b/include/Pages/StaticPage.php
index c44860bb..4f84c329 100644
--- a/include/Pages/StaticPage.php
+++ b/include/Pages/StaticPage.php
@@ -1,7 +1,6 @@
<?php
namespace ScummVM\Pages;
-use Exception;
use ScummVM\Controller;
class StaticPage extends Controller
More information about the Scummvm-git-logs
mailing list