feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready
This commit is contained in:
@@ -97,7 +97,7 @@ final readonly class DiscoveredAttribute
|
||||
|
||||
$filePath = null;
|
||||
$fileData = $data['file'] ?? $data['filePath'] ?? null;
|
||||
if ($fileData !== null && ! empty($fileData)) {
|
||||
if (! empty($fileData)) {
|
||||
if (is_object($fileData)) {
|
||||
// Check if it's a complete FilePath object
|
||||
if ($fileData instanceof FilePath) {
|
||||
@@ -232,9 +232,6 @@ final readonly class DiscoveredAttribute
|
||||
} elseif ($value instanceof \UnitEnum) {
|
||||
// Handle PHP unit enums
|
||||
$sanitizedAdditionalData[$key] = $value->name;
|
||||
} else {
|
||||
// Skip unsupported objects to prevent serialization issues
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
$sanitizedAdditionalData[$key] = $value;
|
||||
|
||||
Reference in New Issue
Block a user