Skip to content

[Filesystem] Duplicate methods for checking absolute path #61510

@mabar

Description

@mabar

Description

There are two methods to check whether path is absolute. Filesystem::isAbsolutePath() and Path::isAbsolute(). They look quite similar and I would suggest to make them share the same implementation to avoid confusion

public function isAbsolutePath(string $file): bool

public static function isAbsolute(string $path): bool

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions