Comments (4)
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.
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.
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.
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)
- [9.0.0] Enhance Cache support for Windows platform HOT 13
- "no configuration file is found" message without --no-configuration flag HOT 5
- Crash when using Docker for PHP 8.2 HOT 10
- [9.0.x] PHPLint Docker image should be able to lint all PHP 8 supported syntaxes HOT 7
- [Question] How to define PHP version for Github Action HOT 5
- [9.0.x] Docker usage may raise a permission denied HOT 2
- [9.0.x] Error is unintuitive when there are no files to lint HOT 10
- [9.0.x] GitHub Action must be modified due to docker image in non-root mode HOT 5
- [9.0.x] Analyse multiple path at same time did not work with console command HOT 2
- Add SARIF output format HOT 4
- [9.0.x] Improve log options implementation
- DX: Add composer keywords
- Install via .phive/phars.xml HOT 3
- The "-x" option does not exist. HOT 26
- PHP CS Fixer deprecated rules HOT 1
- Better Symfony 7 support HOT 3
- faster process linter HOT 22
- Use non-absolute paths in cache HOT 6
- Don't forget to change Console Application version before publishing a new release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phplint.