Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation] Auto-update linters version, help and documentation #4519

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

nvuillam
Copy link
Member

[automation] Auto-update linters version, help and documentation

Copy link
Contributor

github-actions bot commented Jan 17, 2025

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ API spectral 1 0 1.81s
⚠️ BASH bash-exec 6 1 0.02s
✅ BASH shellcheck 6 0 0.21s
✅ BASH shfmt 6 0 0 0.84s
✅ COPYPASTE jscpd yes no 2.93s
✅ DOCKERFILE hadolint 129 0 23.95s
✅ JSON jsonlint 20 0 0.19s
✅ JSON v8r 22 0 13.91s
⚠️ MARKDOWN markdownlint 267 0 303 22.09s
✅ MARKDOWN markdown-table-formatter 267 0 0 157.64s
⚠️ PYTHON bandit 215 66 2.81s
✅ PYTHON black 215 0 0 4.62s
✅ PYTHON flake8 215 0 1.69s
✅ PYTHON isort 215 0 0 1.32s
✅ PYTHON mypy 215 0 14.03s
✅ PYTHON pylint 215 0 19.96s
✅ PYTHON ruff 215 0 0 0.74s
✅ REPOSITORY checkov yes no 32.06s
✅ REPOSITORY git_diff yes no 0.78s
⚠️ REPOSITORY grype yes 26 12.23s
✅ REPOSITORY secretlint yes no 14.25s
✅ REPOSITORY trivy yes no 17.36s
✅ REPOSITORY trivy-sbom yes no 0.28s
⚠️ REPOSITORY trufflehog yes 1 54.12s
✅ SPELL cspell 718 0 12.99s
⚠️ SPELL lychee 349 14 39.25s
✅ XML xmllint 3 0 0 0.89s
✅ YAML prettier 160 0 0 3.6s
✅ YAML v8r 102 0 22.58s
✅ YAML yamllint 161 0 2.49s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@nvuillam nvuillam force-pushed the create-pull-request/patch branch from 1dbc8c1 to f833356 Compare January 18, 2025 04:10
@nvuillam nvuillam force-pushed the create-pull-request/patch branch from dd5c034 to 5f4e7cb Compare January 18, 2025 07:58
@nvuillam nvuillam merged commit 8394f2f into main Jan 18, 2025
130 checks passed
@nvuillam nvuillam deleted the create-pull-request/patch branch January 18, 2025 10:08
@@ -14,7 +14,7 @@ PHP-CS-Fixer is able to fix rule violations detected, and even those marked as (

## php-cs-fixer documentation

- Version in MegaLinter: **3.68.0**
- Version in MegaLinter: **7.4.0**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvuillam As I've already mentionned #4351 (comment) there is a problem with automation to detect PHP-CS-Fixer : latest version available is 3.68.1
7.4.0 correspond to PHP minimum requirement (see message below)

Copy link
Member Author

@nvuillam nvuillam Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@llaville default regex to extract version is self.version_extract_regex = r"\d+(\.\d+)+"

You can override it by defining version_extract_regex in phpcs-fixer descriptor :)

Example: version_extract_regex: "(?<=bandit )\\d+(\\.\\d+)+"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants