Skip to content

Comparison Error in src/Liquid/LocalFileSystem.php #52

@jonkas2211

Description

@jonkas2211

Hello guys,

there are comparison errors in the file src/Liquid/LocalFileSystem.php.
There are some comparisons like: if (!$rootRegex->match(realpath($fullPath)))
wich wont be true ever, because the function match() will never return a boolean.
It just returns 0 or 1... I know a bit stupid..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions