fxpio / foxy

A fast, reliable, and secure NPM/Yarn/pnpm bridge for Composer
https://foxypkg.com
MIT License
173 stars 21 forks source link

The code not compatible with new Composer version 2.6.6 #52

Open SprayHank opened 7 months ago

SprayHank commented 7 months ago

image PHP Fatal error: Declaration of Foxy\Json\JsonFile::encode($data, $options = 448) must be compatible with Composer\Json\JsonFile::encode($data, int $options = 448, string $indent = self::INDENT_DEFAULT): string in /www/wwwroot/yii-advanced-application/vendor/foxy/foxy/Json/JsonFile.php on line 98 the method definition not compatible with the class it inherit of

darvanen commented 3 months ago

I wouldn't normally do this, but there hasn't been an answer here for years on a couple of issues:

It looks like https://github.com/php-forge/foxy is maintained