mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-20 12:51:30 +02:00
Merge branch 'master' into dependabot/github_actions/actions/cache-4
This commit is contained in:
2
.github/workflows/test-suite.yaml
vendored
2
.github/workflows/test-suite.yaml
vendored
@@ -117,7 +117,7 @@ jobs:
|
||||
run: make artifacts
|
||||
|
||||
- name: Publish Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: v${{ steps.vars.outputs.tag }}
|
||||
draft: true
|
||||
|
@@ -68,8 +68,8 @@ return [
|
||||
'zip_downloads' => env('ZIP_DOWNLOADS', true),
|
||||
|
||||
/**
|
||||
* Compress Zip using Deflate. The main drawback of enabling this option is that
|
||||
* the file size cannot be estimated, and it can also prevent the resuming of the download.
|
||||
* Compress Zip using Deflate. Enabling this option prevents file size
|
||||
* estimation and it may prevent zip download resuming when paused.
|
||||
*
|
||||
* Default value: false
|
||||
*/
|
||||
|
20
app/translations/fa.yaml
Normal file
20
app/translations/fa.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
home: صفحه اصلی
|
||||
download: این دایرکتوری را دانلود کنید
|
||||
search: جستجو ...
|
||||
file:
|
||||
name: اسم فایل
|
||||
size: اندازه فایل
|
||||
date: تاریخ
|
||||
info: اطلاعات فایل
|
||||
powered_by: قدرت گرفته از
|
||||
scroll_to_top: اسکرول به بالا
|
||||
toggle_theme: تغییر به حالت روشن/تاریک
|
||||
|
||||
error:
|
||||
directory_not_found: دایرکتوری مورد نظر وجود ندارد
|
||||
file_not_found: فایل موردنظر پیدا نشد
|
||||
file_size_exceeded: اندازه فایل بسیار زیاد است
|
||||
no_results_found: نتیجه ای یافت نشد
|
||||
unexpected: یک خطای غیرمنتظره یافت شد
|
||||
|
||||
enable_debugging: قابلیت دیباگ کردن را برای قابلیت های جدید فعال کنید
|
20
app/translations/hr.yaml
Normal file
20
app/translations/hr.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
home: Početna
|
||||
download: Preuzmi ovaj Direktorij
|
||||
search: Traži
|
||||
file:
|
||||
name: Naziv Datoteke
|
||||
size: Veličina
|
||||
date: Datum
|
||||
info: Podaci o Datoteci
|
||||
powered_by: Pokreće
|
||||
scroll_to_top: Povratak na Vrh
|
||||
toggle_theme: Prebacivanje Svijetlog/Tamnog Načina Rada
|
||||
|
||||
error:
|
||||
directory_not_found: Direktorij ne postoji
|
||||
file_not_found: Datoteka nije pronađena
|
||||
file_size_exceeded: Veličina datoteke je prevelika
|
||||
no_results_found: Nema rezultata
|
||||
unexpected: Došlo je do neočekivane pogreške
|
||||
|
||||
enable_debugging: Omogućite otklanjanje pogrešaka za dodatne informacije
|
1329
composer.lock
generated
1329
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,3 @@
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: directory-lister-app
|
||||
|
3030
package-lock.json
generated
3030
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,30 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^Method App\\\\Bootstrap\\\\AppManager\\:\\:__invoke\\(\\) return type with generic class Slim\\\\App does not specify its types\\: TContainerInterface$#"
|
||||
count: 1
|
||||
path: app/src/Bootstrap/AppManager.php
|
||||
|
||||
-
|
||||
message: "#^PHPDoc tag @var for variable \\$configFiles has no value type specified in iterable type iterable\\.$#"
|
||||
count: 1
|
||||
path: app/src/Bootstrap/BootManager.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Bootstrap\\\\ExceptionManager\\:\\:__construct\\(\\) has parameter \\$app with generic class Slim\\\\App but does not specify its types\\: TContainerInterface$#"
|
||||
count: 1
|
||||
path: app/src/Bootstrap/ExceptionManager.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Bootstrap\\\\MiddlewareManager\\:\\:__construct\\(\\) has parameter \\$app with generic class Slim\\\\App but does not specify its types\\: TContainerInterface$#"
|
||||
count: 1
|
||||
path: app/src/Bootstrap/MiddlewareManager.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Bootstrap\\\\RouteManager\\:\\:__construct\\(\\) has parameter \\$app with generic class Slim\\\\App but does not specify its types\\: TContainerInterface$#"
|
||||
count: 1
|
||||
path: app/src/Bootstrap/RouteManager.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controllers\\\\DirectoryController\\:\\:__invoke\\(\\) throws checked exception Twig\\\\Error\\\\LoaderError but it's missing from the PHPDoc @throws tag\\.$#"
|
||||
count: 2
|
||||
@@ -15,6 +40,11 @@ parameters:
|
||||
count: 2
|
||||
path: app/src/Controllers/DirectoryController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controllers\\\\FileInfoController\\:\\:calculateHashes\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: app/src/Controllers/FileInfoController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controllers\\\\SearchController\\:\\:__invoke\\(\\) throws checked exception Twig\\\\Error\\\\LoaderError but it's missing from the PHPDoc @throws tag\\.$#"
|
||||
count: 2
|
||||
@@ -55,6 +85,11 @@ parameters:
|
||||
count: 1
|
||||
path: app/src/Exceptions/ErrorHandler.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Factories\\\\TranslationFactory\\:\\:translations\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: app/src/Factories/TranslationFactory.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Factories\\\\TwigFactory\\:\\:__invoke\\(\\) throws checked exception ReflectionException but it's missing from the PHPDoc @throws tag\\.$#"
|
||||
count: 1
|
||||
@@ -100,21 +135,61 @@ parameters:
|
||||
count: 1
|
||||
path: app/src/ViewFunctions/SizeForHumans.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\Controllers\\\\DirectoryControllerTest\\:\\:configOptions\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/Controllers/DirectoryControllerTest.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$finfo of function finfo_buffer expects finfo, finfo\\|false given\\.$#"
|
||||
count: 1
|
||||
path: tests/Exceptions/ErrorHandlerTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\Factories\\\\CacheFactoryTest\\:\\:cacheAdapters\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/Factories/CacheFactoryTest.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$expected of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\<object\\>, string given\\.$#"
|
||||
count: 1
|
||||
path: tests/Factories/CacheFactoryTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\Factories\\\\FinderFactoryTest\\:\\:getFilesArray\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/Factories/FinderFactoryTest.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getCallable\\(\\) on Twig\\\\TwigFunction\\|null\\.$#"
|
||||
count: 11
|
||||
path: tests/Factories/TwigFactoryTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\HiddenFilesTest\\:\\:hiddenFilesProvider\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/HiddenFilesTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\HiddenFilesTest\\:\\:test_it_creates_a_collection_of_hidden_files\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/HiddenFilesTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\HiddenFilesTest\\:\\:test_it_creates_a_collection_of_hidden_files\\(\\) has parameter \\$hiddenFilesArray with no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/HiddenFilesTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\Middlewares\\\\PruneCacheMiddlewareTest\\:\\:nonPruneableCacheAdapters\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/Middlewares/PruneCacheMiddlewareTest.php
|
||||
|
||||
-
|
||||
message: "#^Method Tests\\\\Middlewares\\\\PruneCacheMiddlewareTest\\:\\:pruneableCacheAdapters\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: tests/Middlewares/PruneCacheMiddlewareTest.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$className of method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\) expects class\\-string\\<object\\>, string given\\.$#"
|
||||
count: 1
|
||||
|
@@ -14,7 +14,6 @@ parameters:
|
||||
level: 8
|
||||
|
||||
checkFunctionNameCase: true
|
||||
checkMissingIterableValueType: false
|
||||
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
|
||||
|
@@ -23,12 +23,14 @@ class TranslationFactoryTest extends TestCase
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('es'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('et'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('fr'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('hr'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('hu'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('id'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('it'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('kr'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('nl'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('pl'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('fa'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('pt-BR'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('ro'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('ru'));
|
||||
|
Reference in New Issue
Block a user