fix: DockerSecretsResolver - don't normalize absolute paths like /var/www/html/...
Some checks failed
Deploy Application / deploy (push) Has been cancelled

This commit is contained in:
2025-11-24 21:28:25 +01:00
parent 4eb7134853
commit 77abc65cd7
1327 changed files with 91915 additions and 9909 deletions

View File

@@ -0,0 +1,50 @@
<?php
declare(strict_types=1);
namespace App\Framework\DI\ValueObjects;
/**
* Represents a warning found during initializer analysis
*/
final readonly class InitializerWarning
{
/**
* @param string $type Warning type (typically 'warning')
* @param string $message Human-readable warning message
* @param string $class Initializer class name
* @param string $method Initializer method name
* @param string $returnType Return type of the initializer
* @param array<string> $missingDependencies List of potentially missing dependencies
*/
public function __construct(
public string $type,
public string $message,
public string $class,
public string $method,
public string $returnType,
public array $missingDependencies
) {
}
/**
* Convert to array for JSON output
*
* @return array{type: string, message: string, class: string, method: string, return_type: string, missing_dependencies: array<string>}
*/
public function toArray(): array
{
return [
'type' => $this->type,
'message' => $this->message,
'class' => $this->class,
'method' => $this->method,
'return_type' => $this->returnType,
'missing_dependencies' => $this->missingDependencies,
];
}
}