mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-04-25 22:48:26 -05:00
Upgrade framework
This commit is contained in:
+20
-2
@@ -14,6 +14,20 @@ APP_AUTHOR="Daniel Brendel"
|
||||
APP_CONTACT="dbrendel1988@gmail.com"
|
||||
APP_DEBUG=true
|
||||
APP_BASEDIR=""
|
||||
APP_TIMEZONE=null
|
||||
|
||||
# Session
|
||||
SESSION_ENABLE=true
|
||||
SESSION_DURATION=32532000
|
||||
SESSION_NAME=null
|
||||
|
||||
# Photo resize factors
|
||||
PHOTO_RESIZE_FACTOR_DEFAULT=1.0
|
||||
PHOTO_RESIZE_FACTOR_1=0.5
|
||||
PHOTO_RESIZE_FACTOR_2=0.4
|
||||
PHOTO_RESIZE_FACTOR_3=0.4
|
||||
PHOTO_RESIZE_FACTOR_4=0.3
|
||||
PHOTO_RESIZE_FACTOR_5=0.2
|
||||
|
||||
# Database settings
|
||||
DB_ENABLE=true
|
||||
@@ -21,8 +35,9 @@ DB_HOST=localhost
|
||||
DB_USER=root
|
||||
DB_PASSWORD=""
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=asatru
|
||||
DB_DATABASE=hortusfox
|
||||
DB_DRIVER=mysql
|
||||
DB_CHARSET="utf8mb4"
|
||||
|
||||
# SMTP settings
|
||||
SMTP_FROMNAME="Test"
|
||||
@@ -31,4 +46,7 @@ SMTP_HOST=""
|
||||
SMTP_PORT=587
|
||||
SMTP_USERNAME=""
|
||||
SMTP_PASSWORD=""
|
||||
SMTP_ENCRYPTION=tls
|
||||
SMTP_ENCRYPTION=tls
|
||||
|
||||
# Logging
|
||||
LOG_ENABLE=true
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
Testcase for Test Example
|
||||
*/
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* This class holds your test methods
|
||||
*/
|
||||
class ExampleTest extends Asatru\Testing\Test
|
||||
{
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function testIndex()
|
||||
{
|
||||
$response = $this->request(Asatru\Testing\Test::REQUEST_GET, '/auth')->getResponse();
|
||||
$this->assertInstanceOf(Asatru\View\ViewHandler::class, $response);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,9 @@ require_once __DIR__ . '/../../vendor/danielbrendel/asatru-php-framework/src/loc
|
||||
//Require database management
|
||||
require_once __DIR__ . '/../../vendor/danielbrendel/asatru-php-framework/src/database.php';
|
||||
|
||||
//Require modules
|
||||
require_once __DIR__ . '/../../vendor/danielbrendel/asatru-php-framework/src/modules.php';
|
||||
|
||||
//Require event manager
|
||||
require_once __DIR__ . '/../../vendor/danielbrendel/asatru-php-framework/src/events.php';
|
||||
|
||||
|
||||
Generated
+36
-35
@@ -171,16 +171,16 @@
|
||||
},
|
||||
{
|
||||
"name": "chillerlan/php-settings-container",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/chillerlan/php-settings-container.git",
|
||||
"reference": "8f93648fac8e6bacac8e00a8d325eba4950295e6"
|
||||
"reference": "95ed3e9676a1d47cab2e3174d19b43f5dbf52681"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/8f93648fac8e6bacac8e00a8d325eba4950295e6",
|
||||
"reference": "8f93648fac8e6bacac8e00a8d325eba4950295e6",
|
||||
"url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/95ed3e9676a1d47cab2e3174d19b43f5dbf52681",
|
||||
"reference": "95ed3e9676a1d47cab2e3174d19b43f5dbf52681",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -188,15 +188,16 @@
|
||||
"php": "^8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phan/phan": "^5.4",
|
||||
"phpmd/phpmd": "^2.15",
|
||||
"phpstan/phpstan": "^1.11",
|
||||
"phpstan/phpstan-deprecation-rules": "^1.2",
|
||||
"phpunit/phpunit": "^10.5",
|
||||
"squizlabs/php_codesniffer": "^3.9"
|
||||
"squizlabs/php_codesniffer": "^3.10"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"chillerlan\\Settings\\": "src/"
|
||||
"chillerlan\\Settings\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
@@ -232,25 +233,25 @@
|
||||
"type": "ko_fi"
|
||||
}
|
||||
],
|
||||
"time": "2024-03-02T20:07:15+00:00"
|
||||
"time": "2024-07-16T11:13:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "danielbrendel/asatru-php-framework",
|
||||
"version": "v1.0",
|
||||
"version": "v1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/danielbrendel/dnyAsatruPHP-Framework.git",
|
||||
"reference": "5bdc12bc510059f6298ede520fa767846c8961e8"
|
||||
"reference": "2e534fc007b8d3b38564d3c62f91fb05fdac0b25"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/danielbrendel/dnyAsatruPHP-Framework/zipball/5bdc12bc510059f6298ede520fa767846c8961e8",
|
||||
"reference": "5bdc12bc510059f6298ede520fa767846c8961e8",
|
||||
"url": "https://api.github.com/repos/danielbrendel/dnyAsatruPHP-Framework/zipball/2e534fc007b8d3b38564d3c62f91fb05fdac0b25",
|
||||
"reference": "2e534fc007b8d3b38564d3c62f91fb05fdac0b25",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"nesbot/carbon": "^2.0",
|
||||
"php": "^8.0",
|
||||
"php": "^8.3",
|
||||
"phpmailer/phpmailer": "^6.1",
|
||||
"phpunit/phpunit": "^8"
|
||||
},
|
||||
@@ -273,9 +274,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/danielbrendel/dnyAsatruPHP-Framework/issues",
|
||||
"source": "https://github.com/danielbrendel/dnyAsatruPHP-Framework/tree/v1.0"
|
||||
"source": "https://github.com/danielbrendel/dnyAsatruPHP-Framework/tree/v1.1"
|
||||
},
|
||||
"time": "2024-02-12T21:22:02+00:00"
|
||||
"time": "2024-07-20T10:53:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/instantiator",
|
||||
@@ -1012,42 +1013,42 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "8.5.38",
|
||||
"version": "8.5.39",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "1ecad678646c817a29e55a32c930f3601c3f5a8c"
|
||||
"reference": "172ba97bcf97ae6ef86ca256adf77aece8a143fe"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1ecad678646c817a29e55a32c930f3601c3f5a8c",
|
||||
"reference": "1ecad678646c817a29e55a32c930f3601c3f5a8c",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/172ba97bcf97ae6ef86ca256adf77aece8a143fe",
|
||||
"reference": "172ba97bcf97ae6ef86ca256adf77aece8a143fe",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"doctrine/instantiator": "^1.3.1",
|
||||
"doctrine/instantiator": "^1.5.0",
|
||||
"ext-dom": "*",
|
||||
"ext-json": "*",
|
||||
"ext-libxml": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-xml": "*",
|
||||
"ext-xmlwriter": "*",
|
||||
"myclabs/deep-copy": "^1.10.0",
|
||||
"phar-io/manifest": "^2.0.3",
|
||||
"phar-io/version": "^3.0.2",
|
||||
"myclabs/deep-copy": "^1.12.0",
|
||||
"phar-io/manifest": "^2.0.4",
|
||||
"phar-io/version": "^3.2.1",
|
||||
"php": ">=7.2",
|
||||
"phpunit/php-code-coverage": "^7.0.12",
|
||||
"phpunit/php-file-iterator": "^2.0.4",
|
||||
"phpunit/php-code-coverage": "^7.0.17",
|
||||
"phpunit/php-file-iterator": "^2.0.6",
|
||||
"phpunit/php-text-template": "^1.2.1",
|
||||
"phpunit/php-timer": "^2.1.2",
|
||||
"phpunit/php-timer": "^2.1.4",
|
||||
"sebastian/comparator": "^3.0.5",
|
||||
"sebastian/diff": "^3.0.2",
|
||||
"sebastian/environment": "^4.2.3",
|
||||
"sebastian/exporter": "^3.1.5",
|
||||
"sebastian/global-state": "^3.0.0",
|
||||
"sebastian/object-enumerator": "^3.0.3",
|
||||
"sebastian/resource-operations": "^2.0.1",
|
||||
"sebastian/type": "^1.1.3",
|
||||
"sebastian/diff": "^3.0.6",
|
||||
"sebastian/environment": "^4.2.5",
|
||||
"sebastian/exporter": "^3.1.6",
|
||||
"sebastian/global-state": "^3.0.5",
|
||||
"sebastian/object-enumerator": "^3.0.5",
|
||||
"sebastian/resource-operations": "^2.0.3",
|
||||
"sebastian/type": "^1.1.5",
|
||||
"sebastian/version": "^2.0.1"
|
||||
},
|
||||
"suggest": {
|
||||
@@ -1090,7 +1091,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.38"
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.39"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -1106,7 +1107,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-04-05T04:31:23+00:00"
|
||||
"time": "2024-07-10T11:43:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/clock",
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user