You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/vendor/cocur/slugify/src/Slugify.php:34
protected array $rules = [];
I had to write in my composer.json "cocur/slugify": "~4.4.0", to downgrade to 4.4.0 and fix it
I have installed version 4.5.0 for my PHP7 compatible application. But it is giving below error
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 contradictoryThe text was updated successfully, but these errors were encountered: