Git Product home page Git Product logo

Comments (6)

DQNEO avatar DQNEO commented on July 22, 2024

I reproduced it by this docker images
https://hub.docker.com/r/library/php/tags/

docker run -it php:5.4-fpm bash

inside the container,

# apt-get update
# apt-get install -y git-core
# curl -sS https://getcomposer.org/installer | php
# ./composer.phar global require hirak/prestissimo
# ./composer.phar require slim/slim
Using version ^2.6 for slim/slim
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing slim/slim (2.6.2)
    Downloading: Connecting...

  [ErrorException]
  Missing argument 5 for Hirak\Prestissimo\CurlRemoteFilesystem::progress()

from prestissimo.

hirak avatar hirak commented on July 22, 2024

OK, this is because CURLOPT_PROGRESSFUNCTION interface.

  • PHP >= 5.5 ... (ch, int, int, int, int) -> int
  • PHP < 5.5 ... (int, int, int, int) -> int

I'll fix it.

from prestissimo.

DQNEO avatar DQNEO commented on July 22, 2024

Yes, I also found it in the manual.
http://php.net/manual/ja/function.curl-setopt.php#116866

from prestissimo.

hirak avatar hirak commented on July 22, 2024

@docteurklein I released 0.1.5. Prease try new version.

$ composer global remove hirak/prestissimo
$ composer global require hirak/prestissimo

from prestissimo.

docteurklein avatar docteurklein commented on July 22, 2024

thanks! will try and report.

from prestissimo.

DQNEO avatar DQNEO commented on July 22, 2024

I confirmed the issue is fixed on php:5.4-fpm docker image.

from prestissimo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.