Replies: 8 comments 3 replies
-
No block on super-linter, but I wonder if it might be simpler to just add a step/workflow for PHPStan rather than an omni-linter docker image with every linter installed, which might not be clear how to run locally (when super-linter came out, it kinda struck me as a bit of an idea that come more from marketing team for GitHub Actions. The 8k stars for a GitHub-backed project that applies to ALL LANGUAGES aka every repo, that kinda corroborates for me that the developer response was a bit tepid) |
Beta Was this translation helpful? Give feedback.
-
related issue #3950 |
Beta Was this translation helpful? Give feedback.
-
I've never used any of these tools but I think PHPStan is more of an error checker than a linter. It does sound like something we would want, too, though. |
Beta Was this translation helpful? Give feedback.
-
bah, i had a huge comment here where I'd done the research, but lost it in The Great Chrome Crash of last night 😭 Was basically summarizing these articles/posts:
Rapid Re-Summary
|
Beta Was this translation helpful? Give feedback.
-
definitely would be handy to have something |
Beta Was this translation helpful? Give feedback.
-
If we're adding linting to CI, I'd want to also be able to run it in VS Code. |
Beta Was this translation helpful? Give feedback.
-
I did a few more minutes of searching. It seems like the official Laravel linter is Pint. Built on top of php-cs-fixer, I think. It looks like there are a few unofficial vscode extensions to try out, too. |
Beta Was this translation helpful? Give feedback.
-
Converted to issue #7697 |
Beta Was this translation helpful? Give feedback.
-
Description
The GitHub workflow that is used to lint the codebase does not run a linter for PHP even though our API is written in PHP.
Possible Solution
Replace current workflow with Super-Linter GitHub action.
Beta Was this translation helpful? Give feedback.
All reactions