ausi / slug-generator

Slug Generator Library for PHP, based on Unicode’s CLDR data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unsupported declare 'strict_types' + Fatal error

ezetojo opened this issue · comments

I'm getting this while using the generator. Any idea? Thank you!

Warning: Unsupported declare 'strict_types' in SlugGenerator.php on line 12
Fatal error: Default value for parameters with a class type hint can only be NULL in SlugGenerator.php on line 36

Which PHP version are you using?

@ausi PHP 5.6.29

For this library you need at least PHP 7.1.0. Composer should have checked that automatically at installation.

@ausi oh, ok, my bad. i installed it manually. thanks btw