php-tmdb / symfony

Symfony 4,5 and 6 Bundle for TMDB ( The Movie Database ) API. Provides easy access to the php-tmdb/api library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP fatal error on php-nighly: incompatible declarations of createCollection()

yukoff opened this issue · comments

Runtime: PHP 7.3.0-dev

PHP fatal error on php-nighly: incompatible declarations of createCollection() and deprecation warning on each()

Error

Fatal error: Declaration of Tmdb\Factory\People\CastFactory::createCollection(array $data = Array, $person = NULL) must be compatible with Tmdb\Factory\PeopleFactory::createCollection(array $data = Array, $person = NULL, $collection = NULL) in /home/travis/build/php-tmdb/symfony/vendor/php-tmdb/api/lib/Tmdb/Factory/People/CastFactory.php on line 22

UP: Deprecations caused by phpunit, there's nothing here we can do about them.