Elendev / composer-push

Provide a `push` command to composer to push to repositories
Apache License 2.0
48 stars 30 forks source link

Plugin produces Deprecation Messages in Progress Bar #68

Closed hexa2k9 closed 1 year ago

hexa2k9 commented 2 years ago

We recently switched to elendev/composer-push:^1.0 when we updated to a recent Version of Composer. Ever since we see deprecation Messages (produces by the Progress Bar I think).

We're running PHP 8.1, Composer 2.3.7 & elendev/composer-push 1.0.3.

Not a big problem, but I was wondering why this would need a Progress Bar to push (in our case) a couple of hundred kilobytes to a registry ..

Pushing archive to URL: https://artifactory.REDACTED...
   0/100 [>---------------------------]   0%
Deprecation Notice: Implicit conversion from float 12.218454086645576 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 12.218454086645576 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 24.43690817329115 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 24.43690817329115 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 36.65536225993672 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 36.65536225993672 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 48.8738163465823 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 48.8738163465823 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 61.09227043322787 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 61.09227043322787 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 73.31072451987345 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 73.31072451987345 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 85.52917860651903 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 85.52917860651903 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 97.7476326931646 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
Deprecation Notice: Implicit conversion from float 97.7476326931646 to int loses precision in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/ProgressBar.php:346
tm1000 commented 1 year ago

Not all packages are 100s KB some are pretty big and its useful to know for that reason