Git Product home page Git Product logo

Comments (7)

stevegrunwell avatar stevegrunwell commented on June 19, 2024

Lemme guess, PHP 7.1 or older 🤦

from limit-orders.

bswatson avatar bswatson commented on June 19, 2024

That is correct. Seeing this issue on at least 7.3 and 7.4.

from limit-orders.

bswatson avatar bswatson commented on June 19, 2024

Actually, seeing this in PHP 7.0 as well.

from limit-orders.

stevegrunwell avatar stevegrunwell commented on June 19, 2024

Hmm, perhaps this isn't as simple as I had thought; PHP added typehint support for the string scalar type back in PHP 7.0.0, so this shouldn't be a matter of PHP interpreting the "string" typehint as a class name.

Our autoloader also follows the FIG example of a PSR-4 autoloader pretty closely (though they forego typehinting). I'll rework the autoloader to explicitly cast to string rather than typehint, but could you please post a list of other plugins running in case there's a conflict with another autoloader?

from limit-orders.

bswatson avatar bswatson commented on June 19, 2024

I have only been able to replicate this when trying to install a plugin through the Nexcess Dashboard Installer.

from limit-orders.

stevegrunwell avatar stevegrunwell commented on June 19, 2024

Once 1.2.0 is tagged, let's make sure to retest this; everything in the codebase should be PHP 7.0+ compliant, so this may be a problem in the dashboard installer.

from limit-orders.

stevegrunwell avatar stevegrunwell commented on June 19, 2024

Closing this, as we were able to sort out the issue (resolved in version 1.2.1 of the Nexcess Installer plugin).

from limit-orders.

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.