fix: resolve RedisCache array offset error and improve discovery diagnostics

- Fix RedisCache driver to handle MGET failures gracefully with fallback
- Add comprehensive discovery context comparison debug tools
- Identify root cause: WEB context discovery missing 166 items vs CLI
- WEB context missing RequestFactory class entirely (52 vs 69 commands)
- Improved exception handling with detailed binding diagnostics
This commit is contained in:
2025-09-12 20:05:18 +02:00
parent 8040d3e7a5
commit e30753ba0e
46990 changed files with 10789682 additions and 89639 deletions

View File

@@ -74,6 +74,7 @@ final readonly class ComponentPattern
/**
* Gibt alle Klassennamen als Strings zurück
* @return array<int, string>
*/
public function getClassNames(): array
{
@@ -113,6 +114,7 @@ final readonly class ComponentPattern
/**
* Gibt Pattern-spezifische Informationen zurück
* @return array<string, mixed>
*/
public function getPatternInfo(): array
{
@@ -139,6 +141,7 @@ final readonly class ComponentPattern
/**
* Analysiert BEM-Struktur
* @return array<string, mixed>
*/
private function getBemStructure(): array
{
@@ -154,6 +157,10 @@ final readonly class ComponentPattern
];
}
/**
* @param array<int, mixed> $elements
* @param array<int, mixed> $modifiers
*/
private function getBemCompleteness(array $elements, array $modifiers): string
{
if (empty($elements) && empty($modifiers)) {
@@ -171,6 +178,9 @@ final readonly class ComponentPattern
return 'full_bem';
}
/**
* @return array<string, mixed>
*/
public function toArray(): array
{
return [

View File

@@ -21,6 +21,7 @@ final readonly class CssRule
/**
* Gibt alle Selektor-Strings zurück
* @return array<int, string>
*/
public function getSelectorStrings(): array
{
@@ -29,6 +30,7 @@ final readonly class CssRule
/**
* Gibt alle Property-Namen zurück
* @return array<int, string>
*/
public function getPropertyNames(): array
{
@@ -51,6 +53,7 @@ final readonly class CssRule
/**
* Gibt alle Properties einer bestimmten Kategorie zurück
* @return array<int, CssProperty>
*/
public function getPropertiesByCategory(CssPropertyCategory $category): array
{

View File

@@ -78,6 +78,7 @@ final readonly class CssSelector
/**
* Extrahiert alle CSS-Klassennamen aus dem Selektor
* @return array<int, string>
*/
public function extractClasses(): array
{
@@ -88,6 +89,7 @@ final readonly class CssSelector
/**
* Extrahiert alle IDs aus dem Selektor
* @return array<int, string>
*/
public function extractIds(): array
{
@@ -98,6 +100,7 @@ final readonly class CssSelector
/**
* Extrahiert alle Element-Namen aus dem Selektor
* @return array<int, string>
*/
public function extractElements(): array
{

View File

@@ -62,6 +62,7 @@ final readonly class DesignToken
/**
* Konvertiert zu Array für Export/Serialisierung
* @return array<string, mixed>
*/
public function toArray(): array
{