cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.95k stars 893 forks source link

Manually updating the Composer deps, where is the inventory located? #628

Closed cidrbl0ck closed 1 year ago

cidrbl0ck commented 1 year ago

So since I am encountering the reported issue on encountering abandoned composer deps like at least one other person. I started looking to figure out how to update those with the suggested packages. The composer.json mentions one.. but where are all the others? What file can I edit to change say, 'phpoffice/phpexcel' to 'phpoffice/phpspreadsheet'?

Here's a list of the abandoned deps: Package jeremeamia/superclosure is abandoned, you should avoid using it. Use opis/closure instead. Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead. Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead. Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.

Steps to Reproduce (for bugs)

On a fresh Ubuntu 20+ host, pull down the repo, grab teh composer.phar installer. Then run: php composer.phar install --no-dev -o

Context

This is affecting the operation of the application in it's entirety. Here's the error at the end of the composer install:

Generating optimized autoload files Class PHPExcel_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php does not comply with psr-0 autoloading standard. Skipping. Class PHPExcel_Power_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/powerBestFitClass.php does not comply with psr-0 autoloading standard. Skipping. Class PHPExcel_Logarithmic_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/logarithmicBestFitClass.php does not comply with psr-0 autoloading standard. Skipping. Class PHPExcel_Polynomial_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/polynomialBestFitClass.php does not comply with psr-0 autoloading standard. Skipping. Class PHPExcel_Exponential_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/exponentialBestFitClass.php does not comply with psr-0 autoloading standard. Skipping. Class PHPExcel_Linear_Best_Fit located in ./vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/linearBestFitClass.php does not comply with psr-0 autoloading standard. Skipping.

Your Environment

cidrbl0ck commented 1 year ago

OK so I'm closing this issue as it's not really an issue. Meaning it's not blocking the operation of teh application.. merely letting me know there might be un-maintained packages. I submitted this thinking that compoer did NOT install those abandoned deps. Turns out it did.