- Added PHP 8.5 supports

- Fixed some minor bugs
This commit is contained in:
mcndave authored and Dave Mc Nicoll committed 2026-10-19 19:53:02 +00:00
1 parent 7a292fe373
commit 5769f600fe
5 files changed
+6 -7

No files matched your search

+1 -4
View File
@@ -15,10 +15,7 @@ use Notes\Breadcrumb\Breadcrumb;
use Storage\SessionMiddleware;
use Ulmus\User\Middleware\{
HeaderAuthenticationMiddleware,
PostRequestAuthenticationMiddleware
};
use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
return [
Lean\Routing::class => autowire(Lean\Routing::class),
+2 -1
View File
@@ -27,7 +27,8 @@ class Composer
$source = static::createPath('vendor', 'mcnd', 'lean', 'skeleton');
$dest = static::createPath('skeleton');
`cp -a $source $dest`;
shell_exec("cp -a $source $dest");
#`cp -a $source $dest`;
$iterator = new \RecursiveDirectoryIterator($dest);
$iterator->setFlags(\RecursiveDirectoryIterator::SKIP_DOTS);
+1 -1
View File
@@ -123,7 +123,7 @@ class Kernel
if (getenv("APP_ENV") === "prod") {
if (getenv("CACHE_PATH")) {
# check if ACPU is there first,
$containerBuilder->enableDefinitionCache();
# $containerBuilder->enableDefinitionCache(); # Do not work .. ?
$containerBuilder->enableCompilation(getenv("CACHE_PATH") . "/di/");
# No proxies yet... $containerBuilder->writeProxiesToFile(true, getenv("CACHE_PATH") . "/di/");
+1
View File
@@ -2,6 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="viewport" content="width=device-width">
<title>{{ title() }}</title>
+1 -1
View File
@@ -22,7 +22,7 @@
{% slot "week.heading", $day, $month, $year %}
<div class="day-box">
{# 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>
{% endslot %}
{% endforeach %}