- Added PHP 8.5 supports

- Fixed some minor bugs
This commit is contained in:
Dave M. 2026-07-14 15:24:12 +00:00
parent 347e3c3b6c
commit ec313ff269
6 changed files with 7 additions and 7 deletions

View File

@ -18,4 +18,5 @@ return [
ThrowableHandlerInterface::class => autowire(ThrowableHandler::class), ThrowableHandlerInterface::class => autowire(ThrowableHandler::class),
NotFoundDecoratorInterface::class => autowire(NotFoundDecorator::class), NotFoundDecoratorInterface::class => autowire(NotFoundDecorator::class),
# MethodNotAllowedInterface::class => autowire(MethodNotAllowedDecorator::class), # MethodNotAllowedInterface::class => autowire(MethodNotAllowedDecorator::class),
]; ];

View File

@ -15,10 +15,7 @@ use Notes\Breadcrumb\Breadcrumb;
use Storage\SessionMiddleware; use Storage\SessionMiddleware;
use Ulmus\User\Middleware\{ use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
HeaderAuthenticationMiddleware,
PostRequestAuthenticationMiddleware
};
return [ return [
Lean\Routing::class => autowire(Lean\Routing::class), Lean\Routing::class => autowire(Lean\Routing::class),

View File

@ -27,7 +27,8 @@ class Composer
$source = static::createPath('vendor', 'mcnd', 'lean', 'skeleton'); $source = static::createPath('vendor', 'mcnd', 'lean', 'skeleton');
$dest = static::createPath('skeleton'); $dest = static::createPath('skeleton');
`cp -a $source $dest`; shell_exec("cp -a $source $dest");
#`cp -a $source $dest`;
$iterator = new \RecursiveDirectoryIterator($dest); $iterator = new \RecursiveDirectoryIterator($dest);
$iterator->setFlags(\RecursiveDirectoryIterator::SKIP_DOTS); $iterator->setFlags(\RecursiveDirectoryIterator::SKIP_DOTS);

View File

@ -123,7 +123,7 @@ class Kernel
if (getenv("APP_ENV") === "prod") { if (getenv("APP_ENV") === "prod") {
if (getenv("CACHE_PATH")) { if (getenv("CACHE_PATH")) {
# check if ACPU is there first, # check if ACPU is there first,
$containerBuilder->enableDefinitionCache(); # $containerBuilder->enableDefinitionCache(); # Do not work .. ?
$containerBuilder->enableCompilation(getenv("CACHE_PATH") . "/di/"); $containerBuilder->enableCompilation(getenv("CACHE_PATH") . "/di/");
# No proxies yet... $containerBuilder->writeProxiesToFile(true, getenv("CACHE_PATH") . "/di/"); # No proxies yet... $containerBuilder->writeProxiesToFile(true, getenv("CACHE_PATH") . "/di/");

View File

@ -2,6 +2,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; "> <meta http-equiv="Content-Type" content="text/html; ">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{{ title() }}</title> <title>{{ title() }}</title>

View File

@ -22,7 +22,7 @@
{% slot "week.heading", $day, $month, $year %} {% slot "week.heading", $day, $month, $year %}
<div class="day-box"> <div class="day-box">
{# Random calendar date that starts on a sunday #} {# Random calendar date that starts on a sunday #}
{{ substr(( new Date("2019-12-$day") )->formatLocale("%A"), 0, 3) }} {{ new Date("2019-12-$day")->formatLocaleIntl(\IntlDateFormatter::SHORT, \IntlDateFormatter::NONE, 'EEE') }}
</div> </div>
{% endslot %} {% endslot %}
{% endforeach %} {% endforeach %}