symfony / polyfill

PHP polyfills

Home Page:https://symfony.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing symfony/polyfill as well as symfony/polyfill-php80 doesn't work

GrahamCampbell opened this issue · comments

The functions never get defined. symfony/polyfill shouldn't have claimed to replace the polyfill if it didn't?

The bug is that the PHP8 file is missing in the files autoloading of the full package.

Wait, this is incorrect. The functions ARE defined, see the src/bootstrap.php file.
What made you report this issue?

What made you report this issue?

I just noticed the php80 bootstrap was missing from the composer.json. As you explained, this is not an issue though, because they are loaded by a separate bootstrap file.