New feature : PHP linters with support of SARIF output format#3551
Merged
New feature : PHP linters with support of SARIF output format#3551
Conversation
Contributor
🦙 MegaLinter status:
|
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ✅ API | spectral | 2 | 0 | 3.3s | |
| ✅ BASH | bash-exec | 5 | 0 | 0.05s | |
| ✅ BASH | shellcheck | 5 | 0 | 0.15s | |
| ✅ BASH | shfmt | 5 | 0 | 0 | 0.58s |
| ✅ COPYPASTE | jscpd | yes | no | 3.87s | |
| ✅ DOCKERFILE | hadolint | 129 | 0 | 17.9s | |
| ✅ JSON | jsonlint | 18 | 0 | 0.26s | |
| ✅ JSON | v8r | 20 | 0 | 27.86s | |
| markdownlint | 264 | 0 | 268 | 33.88s | |
| ✅ MARKDOWN | markdown-table-formatter | 264 | 0 | 0 | 143.5s |
| ✅ OPENAPI | spectral | 2 | 0 | 3.29s | |
| bandit | 210 | 64 | 3.39s | ||
| ✅ PYTHON | black | 210 | 0 | 0 | 6.4s |
| ✅ PYTHON | flake8 | 210 | 0 | 2.37s | |
| ✅ PYTHON | isort | 210 | 0 | 0 | 1.31s |
| ✅ PYTHON | mypy | 210 | 0 | 20.06s | |
| ✅ PYTHON | pylint | 210 | 0 | 18.23s | |
| ✅ PYTHON | ruff | 210 | 0 | 0 | 0.62s |
| ✅ REPOSITORY | checkov | yes | no | 42.29s | |
| ✅ REPOSITORY | git_diff | yes | no | 0.56s | |
| grype | yes | 1 | 27.76s | ||
| ✅ REPOSITORY | secretlint | yes | no | 19.01s | |
| ✅ REPOSITORY | trivy | yes | no | 27.63s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | 12.9s | |
| trufflehog | yes | 1 | 12.82s | ||
| ✅ SPELL | cspell | 689 | 0 | 30.31s | |
| lychee | 344 | 1 | 10.21s | ||
| ✅ XML | xmllint | 3 | 0 | 0 | 0.58s |
| ✅ YAML | prettier | 161 | 0 | 0 | 6.81s |
| ✅ YAML | v8r | 102 | 0 | 196.92s | |
| ✅ YAML | yamllint | 162 | 0 | 2.33s |
See detailed report in MegaLinter reports
Collaborator
Author
I should have forget something ! Help is welcome |
Member
|
@llaville of beta version was broken, i just fixed it :) Did you run |
Collaborator
Author
@nvuillam I've got following error on WSL-2 / Ubuntu 22.04 LTS platform OK: I know now why, but the Contributing Guide need to be upgrade ... |
Collaborator
Author
|
On Contributing Guide, we can read Or But we don't see that the venv is mandatory As I do not contribute all days, I forgot it (and I prefer to see it in guide rather than remember it) |
Collaborator
Author
Collaborator
Member
|
Not so randomly.... when it fails it's often because some remote server decides to not respond to our calls :p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #3515
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breakingif this is a large fundamental changeautomation,bug,documentation,enhancement,infrastructure, orperformance