Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
@@ -7,7 +8,8 @@ final class Keywords
{
private function __construct(
public array $keywords,
) {}
) {
}
public static function fromStrings(string ...$keywords): self
{

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
@@ -8,6 +9,7 @@ final readonly class MetaData
public function __construct(
public string $title,
public string $description = '',
public OpenGraph $openGraph = new OpenGraphTypeWebsite,
) {}
public OpenGraph $openGraph = new OpenGraphTypeWebsite(),
) {
}
}

View File

@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
interface MetaResolver

View File

@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
interface OpenGraph

View File

@@ -1,9 +1,10 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
enum OpenGraphType:string
enum OpenGraphType: string
{
case WEBSITE = 'website';
case ARTICLE = 'article';

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace App\Framework\Meta;
@@ -9,7 +10,8 @@ final class StaticPageMetaResolver implements MetaResolver
public string $title,
public string $description,
#public Keywords $keywords,
) {}
) {
}
public function __invoke(): MetaData
{
@@ -17,7 +19,7 @@ final class StaticPageMetaResolver implements MetaResolver
$this->title,
$this->description,
#$this->keywords,
new OpenGraphTypeWebsite
new OpenGraphTypeWebsite()
);
}
}