Skip to content

version 4.5.0 is not compatible with PHP 7 although mentioned in packagist #332

Description

@eastern-ravindra

I have installed version 4.5.0 for my PHP7 compatible application. But it is giving below error

ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE)

/home/scrutinizer/build/vendor/cocur/slugify/src/Slugify.php:100

https://github.com/cocur/slugify/blame/af8e6ee771458bf885f7457807b5ff9bad8743cb/src/Slugify.php#L100

From error we can see that it is not compatible with PHP 7 but what mentioned in packagist https://packagist.com/orgs/acsi-it/packages/419786/versions/4.5.0.0/view it is contradictory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions