Skip to content

[BUG] some functions are available starting with 8.0 PHP version #3

@gander

Description

@gander

foreach ($classAliases as $class => $path) {
if (!str_contains($class, '\\')) {
continue;
}
if (str_starts_with($path, $vendorPath)) {
continue;
}
try {
class_alias($class, class_basename($class));
} catch (Throwable $e) {
}
}

obraz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions