DavidBelicza / PHP-Science-TextRank

:zap: :elephant: TextRank (resource-efficient and low-cost automatic text summarisation) for PHP
https://php.science/textrank/
MIT License
243 stars 40 forks source link

PHP 8 support #11

Closed BenParizek closed 3 years ago

BenParizek commented 4 years ago

I have a package that uses TextRank that will need to support PHP 8 soon. Would that be easy enough to add to the current release or is that something that will be better added to v2.0.0?

"require": {
  "php": "7.* || ^8.0",
}
DavidBelicza commented 3 years ago

@BenParizek The current release 1.1.1 would work on PHP 8 if restrictions are removed from composer.json. However, I'm releasing a new version that sets the minimum to 7.4 and also updates the php-unit to 9.

BenParizek commented 3 years ago

Thanks!