Giter VIP home page Giter VIP logo

Comments (4)

llaville avatar llaville commented on May 26, 2024 1

Hello,

First, Thanks to report this issue !
But I won't waste more time to fix it, and I 'll try to explain you why.

  • PHP 8.0 will reach End Of Life at the end of this year 2023 (currently only security fixes)
  • Infrastructure to build the PHAR distribution used my project box-manifest that is a version of BOX project with manifests support. The workflow used the box-manifest 2.3.1 that support BOX v4.x (that requires itself PHP 8.1 or greater)
    BOX v3.x that support PHP 7.4 and 8.0 are also supported via box-manifest 1.2.0 (but has already reached End Of Life).

My suggestion, is if you really want to use a PHAR version of PHPLint 9.0 is to compile it yourself with BOX 3.16.0 (the lastest version that support PHP 8.0).
The metadata in box.json config file will be ignored and considered as simple text.

Follows this steps :

curl -Ls https://github.com/box-project/box/releases/download/3.16.0/box.phar -o box-3.phar
chmod +x box-3.phar
./box-3.phar compile --config /absolute/path/to/phplint_clone/box.json

And used your fresh copy of PHPLint v9 (PHP 8.0 compatible) that may be found in your phplint clone.

Hope that will help you

from phplint.

teal-bauer avatar teal-bauer commented on May 26, 2024

Yeah, very understandable, I also hope to move everything off PHP 8.0 soon. And yeah, that is helpful, but for the time being I've just downgraded to an older phplint as the easiest workaround.

from phplint.

llaville avatar llaville commented on May 26, 2024

Even if older versions are still identified as active support, this is only for help.
I won't apply any fix code on them except for security if needed.
Major version 9.0 is an homogeneous branch code with new feature.

from phplint.

teal-bauer avatar teal-bauer commented on May 26, 2024

Gotcha! For our use case, I think it's fine, we're running v4.x in a Github workflow on self-hosted runners with our own code, but good to know.

from phplint.

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.